Post

AWSAWS

k
kavya A

Posted on 19th April 2024|116 views

0
votes
Answers
P
Aryan Sharma

Posted on 19th April 2024

Yes, it can be done. Using the given extension below:

Resources:

    AWSEBAutoScalingLaunchConfiguration:

        Type: AWS::AutoScaling::LaunchConfiguration

        Properties:

            BlockDeviceMappings:

               - DeviceName: /dev/sda1

                 Ebs:

                     VolumeSize:

                        15


 

The above-mentioned snippet must be added to the app source which you are using in a file at path .ebextensions/01-change-root-volume-size.config. Your file can be named according to your convenience but it should be in .ebextensionsdirectory and must have .config suffix. Updating the environment with the mentioned new app source will terminate work and start a new one with the desired size.

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos