Start course
1h 27m

This course covers the core learning objective to meet the requirements of the 'Designing Compute solutions in AWS - Level 3' skill

Learning Objectives:

  • Evaluate and enforce secure communications when using AWS elastic load balancers using HTTPS/SSL listeners
  • Evaluate when to use a serverless architecture compared to Amazon EC2 based upon workload performance optimization
  • Evaluate how to implement fully managed container orchestration services to deploy, manage, and scale containerized applications

Let's summarize what we just learned. Auto Scaling lifecycle hooks can help manage both startup and cleanup task during launch and termination of your instance respectively. If all you need is to be informed of these events and you don't need to take any actions instead of lifecycle hooks, you can consider using EventBridge to send notifications, start a Lambda function, or any other event that you want to trigger outside of your EC2 instance. You can keep your auto scaling group notified of your task during a lifecycle hook, in order to prevent timeout and to notify completion or failure of your task. If you'll be sitting the AWS DevOps professional exam, here are a few exam tips for you, regarding auto scaling lifecycle hooks. Lifecycle hooks are associated with the Auto Scaling group, and not the launch template.

You may be asked to provide solutions involving preserving data, prior to termination of an instance, and also around instances placed in service too early and failing health checks. This should be mental triggers for you to remember this lesson. Also remember the name of the states that your EC2 instance will be placed into during lifecycle hooks, as well as the name of the notification that you send back to your Auto Scaling group when your tasks are completed. Very important to avoid confusing launching and terminating hooks with warm-up and cool down periods, which are also properties of Auto Scaling groups. I hope this was helpful to you, and if you have any questions feel free to reach out. My name is Carlos, and I will talk to you in the next one.


About the Author
Carlos Rivas
Sr. AWS Content Creator
Learning Paths

Software Development has been my craft for over 2 decades. In recent years, I was introduced to the world of "Infrastructure as Code" and Cloud Computing.
I loved it! -- it re-sparked my interest in staying on the cutting edge of technology.

Colleagues regard me as a mentor and leader in my areas of expertise and also as the person to call when production servers crash and we need the App back online quickly.

My primary skills are:
★ Software Development ( Java, PHP, Python and others )
★ Cloud Computing Design and Implementation
★ DevOps: Continuous Delivery and Integration