Skip to content

Akbar-Ahmed/CostManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

CostManagement

Automatically Scheduling Multiple EC2 Instances.

Steps to run the project:

1-Create multiple EC2 instances. Screenshot (898)

2-Create a policy. (Note: I have attached the JSON template in the repository)

Screenshot (893)

3-Attach roles to that policy. ( for use case select lambda)

4-Create lambda functions for starting and stopping the EC2 instances. (Note : I have attached the code for the lambda function in the repository)

5- For Automation,go to Cloudwatch.

6-Create rule by providing cron expression.

Screenshot (901)

The EC2 are now scheduled according to the requirement.

About

Scheduling VM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published