Track and Save for unattended AWS resources with simple 2 min automation
This is a simple automation to get a daily email report of running EC2 instances, un-attached EBS volumes and un-attached ElasticIPs across AWS regions.
QuickLink to launch cloudformation stack:
https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/review?templateURL=https://s3.amazonaws.com/awswithchetan.com/assets/cost-optimization/daily-usage-report-cloudformation.template&stackName=DailyUsageReport&Schedule=19
Detailed steps to launch stack:
1. Download the cloudformation template from the following link [https://s3.amazonaws.com/awswithchetan.com/assets/cost-optimization/daily-usage-report-cloudformation.template]
2. Open AWS Cloudformation console and use N.Virginia region (us-east-1)
3. Enter the values for FromEmail, ToEmail and most importantly AwsRegions (list of AWS regions for which you want to get the usage report). You can add comma separated list of regions e.g. us-east-1,ap-south-1,eu-west-1
4. Create stack
5. (Optional) For quick check, after Cloudformation stack is created you can go to Lambda and run the Lambda function manually. First time it will send you SES email to confirm your email id. If you run again, it will send the usage report. If you don't do this step, this will happen over the 2 days as we have scheduled to run Lambda function at 19:00 everyday.
If you want to change any parameters after you create the stack, then you can simply change the Lambda Environment variable from the Lambda function configurations.
If interested in learning more, visit www.awswithchetan.com or write to me at awswithchetan@gmail.com
Happy learning!
Chetan
Видео Track and Save for unattended AWS resources with simple 2 min automation канала AWS with Chetan
QuickLink to launch cloudformation stack:
https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/review?templateURL=https://s3.amazonaws.com/awswithchetan.com/assets/cost-optimization/daily-usage-report-cloudformation.template&stackName=DailyUsageReport&Schedule=19
Detailed steps to launch stack:
1. Download the cloudformation template from the following link [https://s3.amazonaws.com/awswithchetan.com/assets/cost-optimization/daily-usage-report-cloudformation.template]
2. Open AWS Cloudformation console and use N.Virginia region (us-east-1)
3. Enter the values for FromEmail, ToEmail and most importantly AwsRegions (list of AWS regions for which you want to get the usage report). You can add comma separated list of regions e.g. us-east-1,ap-south-1,eu-west-1
4. Create stack
5. (Optional) For quick check, after Cloudformation stack is created you can go to Lambda and run the Lambda function manually. First time it will send you SES email to confirm your email id. If you run again, it will send the usage report. If you don't do this step, this will happen over the 2 days as we have scheduled to run Lambda function at 19:00 everyday.
If you want to change any parameters after you create the stack, then you can simply change the Lambda Environment variable from the Lambda function configurations.
If interested in learning more, visit www.awswithchetan.com or write to me at awswithchetan@gmail.com
Happy learning!
Chetan
Видео Track and Save for unattended AWS resources with simple 2 min automation канала AWS with Chetan
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Launch Ubuntu VMLearn AWS .. a new way !AWS Direct Connect Architecture pattern (Part 2 - advance level)Setup AWS Account - Step 3 - Understand AWS Free TierAWS Site To Site VPN - Extended connectivityAWS Direct Connect - What is it and how it works? (Part 1 - For beginners)How HTTPS, SSL/TLS actually work?AWS - IAM Cross Account AccessSetup AWS Account - Step 4 - Setup Billing AlertAWS Hosting static website on S3 with custom domainAWS NAT EC2 InstanceAWS Storage - EBS vs S3 vs EFSSetup AWS Account - Step 5 - Create IAM user, Assign MFA and login with IAM userIntroduction to AWS NetworkingSetup AWS Account - Step 2 - Check your Limits and navigate aws consoleEC2 - Video 2 - Basics of EC2AWS Site To Site VPN (Part 1)My course for AWS Networking from Basics to AdvancedEC2 - Video 1 - Understanding Regions and Availability Zone (AZ)AWS ELB with AutoScaling GroupAWS VPC Basics - Understanding what is VPC and Calculating CIDR for VPC and Subnets