How to FLAWLESSLY configure Amazon EC2 Lifecycle Hooks
User data script used in this video :
-----------------------------------------------------------
#!/bin/bash
yum install httpd -y && \
service httpd start && \
INSTANCE_ID="`wget -q -O - http://instance-data/latest/meta-data/instance-id`" && \
aws autoscaling complete-lifecycle-action --lifecycle-action-result CONTINUE --instance-id $INSTANCE_ID --lifecycle-hook-name myFirstHook --auto-scaling-group-name myASG --region eu-west-1 || \
aws autoscaling complete-lifecycle-action --lifecycle-action-result ABANDON --instance-id $INSTANCE_ID --lifecycle-hook-name myFirstHook --auto-scaling-group-name myASG --region eu-west-1
-----------------------------------------------------------
Видео How to FLAWLESSLY configure Amazon EC2 Lifecycle Hooks канала Shyam Raj
-----------------------------------------------------------
#!/bin/bash
yum install httpd -y && \
service httpd start && \
INSTANCE_ID="`wget -q -O - http://instance-data/latest/meta-data/instance-id`" && \
aws autoscaling complete-lifecycle-action --lifecycle-action-result CONTINUE --instance-id $INSTANCE_ID --lifecycle-hook-name myFirstHook --auto-scaling-group-name myASG --region eu-west-1 || \
aws autoscaling complete-lifecycle-action --lifecycle-action-result ABANDON --instance-id $INSTANCE_ID --lifecycle-hook-name myFirstHook --auto-scaling-group-name myASG --region eu-west-1
-----------------------------------------------------------
Видео How to FLAWLESSLY configure Amazon EC2 Lifecycle Hooks канала Shyam Raj
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
How does AWS Elastic File Storage work? How to create AWS EFS? | Hands on DemoCreate AWS Auto Scaling Lifecycle Hooks - 1AWS Cloud Architect Interview Series | SCENARIO based Questions | Part - 1Amazon Lightsail - All you need to know to get started!DON'T JOIN CONSULTING if... | Reality of being a consultantWhy did Auto Scaling Group terminate my healthy instance(s)?Amazon EC2 Bootcamp - Video 11AWS IAM - How to Create Permissions Boundary with Examples - മലയാളം | IT TechLabHow do I keep availability using Auto Scaling if instances behind a load balancer become unhealthyAWS Hands on Lab - Amazon InspectorAWS S3 Vs. DynamoDB Vs. RDS Aurora Vs. RedshiftCI/CD from Github to AWS EC2 Step by Step | Node.js Express Backend API as an ExampleAWS Autoscaling LifeCycle Hooks #9CICD using AWS CodePipeline and Elastic Bean Stalk | DevOps | Tech PrimersAWS Storage - EBS vs S3 vs EFSAWS Organizations DEMO - Create & Invite AWS Account | Organizational Units | Service Control PolicyAmazon S3 Storage Classes | S3 Object Transitions | Visual ExplanationsTerraform - Create Multiple EC2 Instances in each availability zones using count , element ,listAWS Cloudtrail vs Cloudwatch in 15 minutes | AWS tutorial for beginners