Skip to content

KarthikMurali1/SSM-Demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Why this project?

I was asked by the Melbourne AWS Programming and Tools Meetup to talk at their Apr 2023 meeting. Since I've done a few talks on SSM, I decided to adapt my talk to a demo.

I've broken the demo into three sections:

  • Basics - This will get you started and focuses on the AWS console
  • Intermediate - This section focuses on using the CLI
  • Advanced - It's not too advanced but adds KMS and shows how to access an RDS instance.

Each section has its README.md that will walk you through the steps.

What is SSM

Simple Systems Manager or Systems Manager or SSM is a suite of tools to allow the management of EC2 instances. This demo will focus on the core component of secure server access. And you don't even need inbound or outbound internet access!

Cost

This demo simulates a secure environment where there is no direct outbound access. To connect to AWS services, VPC Endpoints are used. We also spin up 2 x T3.Micro servers, a MySQL RDS instance and use a KMS key.

Description Hourly Cost Monthly Cost
EC2 Linux $0.0132 $9.636
EC2 Windows $0.0224 $16.352
VPC Endpoints $0.052 $37.97
KMS Key N/A $1.03
RDS Instance $0.026 $18.98

NOTE 1: Some aspects don't work as well in Melb right now (March 2023). While you can do most things, you may want to run this demo from Syd.

NOTE 2: You will need to have an existing account and a CLI profile. Since there are multiple ways to configure the previous, I will leave that up to you.

NOTE 3: For my curiosity, I first asked ChatGPT 3 to provide the Cloudformation templates. These are in the ChatGPT folder. Some needed a fair bit of work, others just a little polish.

About

This contains templates for SSM to control EC2 instances

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published