EP-96 | How to Create AWS AutoScaling with Launch Templates using Python 3 with Boto3 | Automate AWS

  Рет қаралды 4,263

Pythoholic

Pythoholic

Күн бұрын

Пікірлер: 25
@amshadabify
@amshadabify 3 жыл бұрын
Bhai ji.. Ek Number Video.. very Knowledgeable..
@digambarsingh107
@digambarsingh107 Жыл бұрын
Hello Sir .. This AWS series is awesome , please create one video for 3 tier architecture through boto3 python in AWS..thanks in advance
@Pythoholic
@Pythoholic Жыл бұрын
sure digambar , thanks 😊
@pannalal3994
@pannalal3994 3 жыл бұрын
Bhai Ji, fantastic Video...
@amshadabify
@amshadabify 3 жыл бұрын
Dear pls.. make a playlist so i will run whole playlist from different internet on different machines whole day with different id... i know it not good.. but i need to support this channel ... U did very hard work yaar. Anyone can see ur efforts.. why dont people share this as what the channel deserve.... Pls make a playlist of full aws series.. plss..
@Pythoholic
@Pythoholic 3 жыл бұрын
There is a series playlist. It's in the description. Please check it out.
@bhagyashreebhagyalaxmi2872
@bhagyashreebhagyalaxmi2872 2 жыл бұрын
Can you please tell me how to add the instance refresh part??
@Pythoholic
@Pythoholic 2 жыл бұрын
Please follow this : boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling.html#AutoScaling.Client.start_instance_refresh
@arondsouza8145
@arondsouza8145 3 жыл бұрын
I am getting the following error. Could you let me know what is the issue An error occurred (InvalidLaunchTemplateName.NotFoundException) when calling the DescribeLaunchTemplates operation: Atleast one of the launch templates specified in the request does not exist.
@Pythoholic
@Pythoholic 3 жыл бұрын
can you share your code or snippet. that should help. or please check the template name and id if that's correct.
@arondsouza8145
@arondsouza8145 3 жыл бұрын
@@Pythoholic I am not getting the Tags id as you are for vpcs.
@Pythoholic
@Pythoholic 3 жыл бұрын
@@arondsouza8145 response = self.ec2_client.create_launch_template( LaunchTemplateName=template_name, LaunchTemplateData={ 'ImageId': 'ami-08e0ca9924195beba', 'InstanceType' : "t2.micro", 'KeyName' : "ec2-key", 'UserData': USERDATA_B64_STR, 'SecurityGroupIds': [sg_id] } ) template_id = response['LaunchTemplate']['LaunchTemplateId'] Can u let me know which line u are facing the issue based on my code. from the URL github.com/Pythoholic/pythoholic_demo_aws/blob/master/AWSPYDemo/sourcefiles/aws_ec2_userdata_autoscaling.py
@aayushgupta2903
@aayushgupta2903 3 жыл бұрын
@pythoholic am getting the same error could you help me out
@SwaroopMd
@SwaroopMd 3 жыл бұрын
hi sir, getting the same error message as Aron and Aayush. Also, the code in your GitHub repo is slightly different from the one you created in the above video. I am copying my code below for your reference, which I created as per your video. Could you please take a look at my code and my error message and let me know what is it I am doing wrong
@redhar6243
@redhar6243 2 жыл бұрын
Hey I followed your steps for creating launch templates, but I'm getting errors like : ---- Started the creation of Auto Scaling Group using Launch Templates ---- Creating the Launch Templates : STARTED Creating the Security Group awspy_security_group : STARTED An error occurred (InvalidLaunchTemplateName.NotFoundException) when calling the DescribeLaunchTemplates operation: Atleast one of the launch templates specified in the request does not exist. Why does that happen? Please help
@Pythoholic
@Pythoholic 2 жыл бұрын
please check if the launch template got created properly
@yurisousan
@yurisousan 2 жыл бұрын
Hello, I found the problem: def grep_vpc_subnet_id(): vpc_id = "" response = ec2_client.describe_vpcs() for vpc in response["Vpcs"]: if vpc['InstanceTenancy'].__contains__("default"): vpc_id = vpc["VpcId"] break Such I didn't have create a VPC in my AWS account, I've to set the filter in for-loop with the Instancetenancy. Adding this block correct intead the example, will be run. =)
@sagarkuvlekar6684
@sagarkuvlekar6684 3 жыл бұрын
Can we expect video on Glue , EMR , ECS , EKS
@Pythoholic
@Pythoholic 3 жыл бұрын
yeah but they will be in brief in the series. I will create separate videos on each of them in the future.
@drnrusimha1491
@drnrusimha1491 3 жыл бұрын
Could you number the videos in their name; else it is not easy for beginners to identify which come after which one;
@Pythoholic
@Pythoholic 3 жыл бұрын
Thanks for the feedback. It's actually put in the thumbnail and the playlist is set in the order of the video. No worries in just a few days all the videos will be put in the series in the new website it will be much more helpful that way. !!
@owenzmortgage8273
@owenzmortgage8273 Жыл бұрын
very difficult to understand your English, too fast and not clear.
@Pythoholic
@Pythoholic Жыл бұрын
Thanks again. I will reduce the pace
AWS Security - AWS Key Management Service | Fully Visualized
50:14
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
Terraform Master Class
1:03:10
DevOps Labs
Рет қаралды 56
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 44 МЛН
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
Kubernetes Crash Course for Absolute Beginners [NEW]
1:12:04
TechWorld with Nana
Рет қаралды 3 МЛН
How to create a CloudWatch Alarm for CPU utilization?
22:51
Pythoholic
Рет қаралды 32 М.