Member-only story

Publish an Amazon SNS message from an EC2 in Amazon VPC

Serge Zeda
8 min readApr 20, 2021

--

Use Case

You recently joined the DevOps team of a major healthcare organization as a Cloud Solution Architect. During a meeting discussion with your team lead, she tasked you to design and implement an efficient process to publish an AWS SNS message from an EC2 instance that’s hosted in an Amazon Virtual Private Cloud (Amazon VPC). Moreover, to safeguard patient information and meet federal regulatory requirements such as HIPAA (Health Insurance Portability and Accountability Act), you must ensure that the messages stays within the AWS network without travelling the public internet.

Create an Amazon EC2 Key Pair

A key pair consists of a public key that’s used to encrypt your login information, and a private key that serves to decrypt it.

  1. Sign in to your AWS Management Console and open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
  2. In the navigation menu on the left, find the Network & Security section.
  3. Then, choose Key Pairs.
  4. Choose Create Key Pair.
  5. In the Create Key Pair window, for Key pair name, type VPCE-Tutorial-KeyPair.
  6. Then, choose Create.

--

--

Serge Zeda
Serge Zeda

Written by Serge Zeda

Self-taught cloud solution architect with a relentless pursuit for working and sharing my passion for cloud computing technologies.

No responses yet