Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AWS Certified Cloud Practitioner Exam Guide

You're reading from   AWS Certified Cloud Practitioner Exam Guide Build your cloud computing knowledge and build your skills as an AWS Certified Cloud Practitioner (CLF-C01)

Arrow left icon
Product type Paperback
Published in Jan 2022
Publisher Packt
ISBN-13 9781801075930
Length 630 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Rajesh Daswani Rajesh Daswani
Author Profile Icon Rajesh Daswani
Rajesh Daswani
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Section 1: Cloud Concepts
2. Chapter 1: What Is Cloud Computing? FREE CHAPTER 3. Chapter 2: Introduction to AWS and the Global Infrastructure 4. Chapter 3: Exploring AWS Accounts, Multi-Account Strategy, and AWS Organizations 5. Section 2: AWS Technologies
6. Chapter 4: Identity and Access Management 7. Chapter 5: Amazon Simple Storage Service (S3) 8. Chapter 6: AWS Networking Services – VPCs, Route53, and CloudFront 9. Chapter 7: AWS Compute Services 10. Chapter 8: AWS Database Services 11. Chapter 9: High Availability and Elasticity on AWS 12. Chapter 10: Application Integration Services 13. Chapter 11: Analytics on AWS 14. Chapter 12: Automation and Deployment on AWS 15. Chapter 13: Management and Governance on AWS 16. Section 3: AWS Security
17. Chapter 14: Implementing Security in AWS 18. Section 4: Billing and Pricing
19. Chapter 15: Billing and Pricing 20. Chapter 16: Mock Tests 21. Answers 22. Other Books You May Enjoy

Exercise 12.1 – stopping and starting EC2 instances at regular intervals using AWS Lambda

Imagine a scenario where you need to run a fleet of on-demand EC2 test servers that your user acceptance testing (UAT) team needs to perform multiple functional and technical tests on for an upcoming application that you are developing. Your UAT team only works from Monday to Friday, 9 A.M. to 5 P.M. The UAT team only needs access to the fleet of test servers during this time. Rather than have a technician manually start up all the servers in the morning and shut them down again at the end of the business day, you could automate the process using AWS Lambda. You would not want to have your on-demand EC2 instances running when they are not needed because you are charged for every hour that those servers are running.

In this exercise, we will look at how to configure AWS Lambda to automatically stop and then start your EC2 instances at defined schedules.

To complete the exercises in...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image