Tailored cloud financial management solutions.
Manage the end-to-end delivery of IT services to customers successfully.
Complete cloud migration services for the public sector.
Transforming the financial services sector with industry-leading cloud and data solutions.
Delivering compliant and secure cloud automation solutions for the Public sector.
Other sectors that we currently have clients within include insurance, media, retail, construction and automotive.
Our team of industry-leading experts deliver world-leading transformation solutions.
We would love to talk about transforming your business. Please let us know.
Our latest industry news, insights, employee stories, and upcoming events.
2019-10-03 00:00:00
To demonstrate how to create an automated periodic AMI replacement pipeline, we have created an example implementation. The source code can be found in a private repository within the Airwalk organization on GitHub here.
The entire environment, including an example VPC and EC2 Auto Scaling Group is defined with Terraform.
The pipeline is triggered by a CloudWatch rule scheduled to run daily, which invokes a Lambda function named ami_pipeline_trigger. This Lambda considers an Auto Scaling Group and assesses whether the AMI specified in the associated Launch Configuration is older than n days. If so, it will trigger an SSM automation named ami-pipeline to build a new image.
The SSM automation contains number of steps:
The ami_pipeline Lambda is responsible for updating the Launch Template with newly created AMI ID, then it will attempt roll out it across Auto Scaling Group by terminating one instance at a time, which will then be automatically relaunched by the Auto Scaling Group.