All Projects → b-b3rn4rd → ssm-ami-automation

b-b3rn4rd / ssm-ami-automation

Licence: other
Automated AMI creation using SSM

Projects that are alternatives of or similar to ssm-ami-automation

cfn-ami-to-mapping
Generate your CloudFormation RegionMap automatically
Stars: ✭ 34 (+142.86%)
Mutual labels:  cloudformation, ami
Nietzsche
Scrap quotes from Goodreads and schedule random tweets.
Stars: ✭ 44 (+214.29%)
Mutual labels:  cloudformation
Autospotting
Saves up to 90% of AWS EC2 costs by automating the use of spot instances on existing AutoScaling groups. Installs in minutes using CloudFormation or Terraform. Convenient to deploy at scale using StackSets. Uses tagging to avoid launch configuration changes. Automated spot termination handling. Reliable fallback to on-demand instances.
Stars: ✭ 2,014 (+14285.71%)
Mutual labels:  cloudformation
Aws Toolkit Eclipse
AWS Toolkit for Eclipse – an open-source plugin for developing, deploying, and managing AWS applications.
Stars: ✭ 252 (+1700%)
Mutual labels:  cloudformation
Aws Toolkit Azure Devops
AWS Toolkit for Azure DevOps
Stars: ✭ 165 (+1078.57%)
Mutual labels:  cloudformation
digital champions deeplearning r mxnet
Showcase for using R + MXNET along with AWS and bitfusion for deep learning.
Stars: ✭ 20 (+42.86%)
Mutual labels:  ami
Awscloudformation Samples
Sample AWS CloudFormation templates
Stars: ✭ 153 (+992.86%)
Mutual labels:  cloudformation
matlab-production-server-on-aws
Stand up a MATLAB Production Server using CloudFormation
Stars: ✭ 21 (+50%)
Mutual labels:  cloudformation
aws-pdf-textract-pipeline
🔍 Data pipeline for crawling PDFs from the Web and transforming their contents into structured data using AWS textract. Built with AWS CDK + TypeScript
Stars: ✭ 141 (+907.14%)
Mutual labels:  cloudformation
Docs
Rapid CloudFormation: Modular, production ready, open source.
Stars: ✭ 209 (+1392.86%)
Mutual labels:  cloudformation
Aws Sso Util
Smooth out the rough edges of AWS SSO (temporarily, until AWS makes it better).
Stars: ✭ 208 (+1385.71%)
Mutual labels:  cloudformation
Aws Cf Templates
A cloudonaut.io project. Engineered by widdix.
Stars: ✭ 2,399 (+17035.71%)
Mutual labels:  cloudformation
ami-spec
Acceptance testing your AMIs
Stars: ✭ 47 (+235.71%)
Mutual labels:  ami
Cfn Lint
A CloudFormation JSON and YAML Validator
Stars: ✭ 164 (+1071.43%)
Mutual labels:  cloudformation
cloudformation-resource-schema
The CloudFormation Resource Schema defines the shape and semantic for resources provisioned by CloudFormation. It is used by provider developers using the CloudFormation RPDK.
Stars: ✭ 77 (+450%)
Mutual labels:  cloudformation
Aws Sdk Perl
A community AWS SDK for Perl Programmers
Stars: ✭ 153 (+992.86%)
Mutual labels:  cloudformation
Cluster Lifecycle Manager
Cluster Lifecycle Manager (CLM) to provision and update multiple Kubernetes clusters
Stars: ✭ 200 (+1328.57%)
Mutual labels:  cloudformation
aws-env
Securely populate environment variables using KMS/SSM/Secrets manager on AWS.
Stars: ✭ 72 (+414.29%)
Mutual labels:  aws-ssm
cloudwatch-dashboards-cloudformation-sample
A sample project to demonstrate using Cloudformation, how to create and configure CloudWatch metric filters, alarms and a dashboard to monitor an AWS Lambda function.
Stars: ✭ 61 (+335.71%)
Mutual labels:  cloudformation
paco
Paco: Prescribed automation for cloud orchestration
Stars: ✭ 32 (+128.57%)
Mutual labels:  cloudformation

ssm-ami-automation

Automated AMI creation using SSM

Recently AWS announced the induction of SNS topic to keep the community informed about Amazon AMI releases. Following solution integrates this feature with Amazon EC2 Systems Manager to provide Amazon native solution to build AMIs.

Workflow

ssm automation

  1. The lambda function is subscribed to the official SNS topic arn:aws:sns:us-east-1:137112412989:amazon-linux-ami-updates
  2. The SSM automation document is triggered with the latest AMI when a new SNS notification is received
  3. Automation document launches a new EC2 instance and runs required configuration commands.
  4. Once the configuration process has completed, SSM stops the instance and creates a new AMI. When the AMI is ready, automation terminates the stopped instance.
  5. CloudWatch Event gets notified when the SSM has finished or failed the execution. It sends a message to the SNS topic which is subscribed by the notification email.

Creating stack

  1. Upload all cloudformation templates except main.yml and sns-subscription.yml to the s3 bucket
  2. Run main.yml in the desired region and provide s3 bucket name where cloudformations were uploaded
  3. Run sns-subscription in the us-east-1 region and specify lambda ARN from SSMLambdaARN output created in step 2
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].