Automatically change AWS EC2 instance size with Lambda

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 มิ.ย. 2023
  • AWS Auto Scaling enables the automatic scaling of EC2 instances by launching and terminating instances. This is known as horizontal scaling, or scaling out. Sometimes, we want to scale vertically (or "up").
    AWS does not provide an automated service to manage this process but we can create our own solution using the EC2 API and some custom code. In this video, you'll learn how to automatically scale an instance vertically using an AWS Lambda function that runs some Python code and modifies the EC2 instance type.
    This hands-on lesson comes from our recently updated AWS Certified Solutions Architect Associate training course. To learn more about this popular certification, visit: digitalcloud.training/aws-cer...
    Make sure you download the code below to follow along with this exercise:
    youtube-code-download-32132b3...
    _______________________
    At Digital Cloud Training, our mission is to help you succeed in your #cloud career.
    👉 Check out our popular training options for #AmazonWebServices, including
    🔸On-Demand Courses digitalcloud.training/aws-tra...
    🔸Hands-on Challenge Labs digitalcloud.training/hands-o...
    🔸Cloud Mastery Bootcamps digitalcloud.training/cloud-m...
    💡 Explore FREE #AWS Training Resources at digitalcloud.training/free-aw...
    👍 Like, comment, and SUBSCRIBE to our channel for more videos from #digitalcloudtraining. We appreciate your support! / digitalcloudtraining
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 7

  • @Reflekt0r
    @Reflekt0r ปีที่แล้ว

    You're an amazing teacher, if I have the chance, I'll do all of your Udemy courses.

  • @adityadeshpande5852
    @adityadeshpande5852 2 หลายเดือนก่อน +1

    Can we factor in zero downtime in this ? By building the launch configuration template and replacing the instance, waiting till the old gets drained and new instance is launched.

    • @DigitalCloudTraining
      @DigitalCloudTraining  2 หลายเดือนก่อน

      There will be some downtime while the old instance fulfills existing requests before terminating.

  • @swator7
    @swator7 11 หลายเดือนก่อน

    thanks for share! :)

  • @user-ib6uo4ne6t
    @user-ib6uo4ne6t 3 หลายเดือนก่อน

    Could you add multiple ec2 instances to this code? I need to update about 50 servers to the same server type and want to do it in bulk

    • @DigitalCloudTraining
      @DigitalCloudTraining  2 หลายเดือนก่อน +1

      Hi there, we recommend posting your question in our Facebook group. Our community members are always happy to share their knowledge and help each other out.
      If you're not already a member of our Facebook community, we'd love to have you join us! 

      Here's the link to sign up: facebook.com/groups/awscertificationqa
      Once you're in, you can post your question and get some helpful insights.

  • @rocktheworld1596
    @rocktheworld1596 ปีที่แล้ว