Introduction to Boto3 Paginator

preview_player
Показать описание


Please join me with my journey by following any of the below links

Twitter: @100daysofdevops OR @lakhera2015
Рекомендации по теме
Комментарии
Автор

This is Excellent video and explanation. No words to describe your explanation.👏👏👏👏👏

karthikvenkataram
Автор

Thank you for this video! Very simple and clear explanation!

night_lamp
Автор

wow..thanks..it really helped me to understand my code which we were struggling to understand

meghaagrawal
Автор

Good morning. Thanks for this wonderful video. I just have a question. I would like to use the results from my s3 bucket and paginate them in my frontend app with the total number of pages and when the user clicks like page 3, then s3 bucket will get me only the results of page 3. Unlike in Django where this can be done by using paginator and in the django paginator, one has access to total number of pages. has
_next, has_previous and with some logic from the frontend only return the result of each page number. I think AWS paginator doesn't have this in-built attribute or does it ?

davidokorie
Автор

I am trying to create a 100's of user to test paginator concept using python, but getting some error, If you can please provide the script if you have.

nadeem
Автор

Hi bro can you please upload video for auto disk size resize when reach size please

ankireddy
Автор

Hi Prashant

Thank you for these informative series on Boto3. Very well explained.

Couple of question if you can give feedback will help

Any way code like below, how can we can export in csv file ?

import boto3
ec2=boto3.resource(‘ec2′)

for instance in instances:
print(f’EC2 instance {instance.id} information:’)
print(f’Instance state: {instance.state[“Name”]}’)
print(f’Instance AMI: {instance.image.id}’)
print(f’Instance platform: {instance.platform}’)
print(f’Instance type: “{instance.instance_type}’)
print(f’Piblic IPv4 address:
print(‘-‘*60)

##

Other requirement i have is, tag 1000s of resources & not all will need single tag. For example a db ec2 will need org_costcenter_rds or org_costcenter_aurora etc .. so all will vary.. also not all ec2 have naming convention, so a effective filter not possible.

SO my plan is export them all in csv, instance id, name in csv, update manually csv with tag key & value ( so now csv have 4 col. id, name, key - org_costcenter_role, value ) .. can then boto import the csv & then we can do loop with boto3 to add tags ?

Pls suggest.

Thanks
Kiran

kirankumar