Giter VIP home page Giter VIP logo

aws_boto3_scripts's Introduction

AWS Boto3 Project

Getting started with Installation

  1. Install python
  2. Install pip
  3. Add python and pip installation to PATH variable
  4. Install boto3: pip install boto3
  5. Install AWS-CLI: pip install awscli --upgrade --user
  6. Configure AWS-CLI for linking account using the command : aws configure

Create Python code and run

  1. Create boto3 script and save the file as <boto3_script_name>.py extension
  2. Run as python <boto3_script_name>.py

Detailed Instructions

The following steps has been captured from the Boto3 Getting Started docs.

Install boto3

Boto3 requires python version 3 or above and python package installer pip

  • Refer official python download documentation to install it.
    • For macos, brew install python works good.
    • For Linux, apt update && apt install python might be fine.
  • Install pip using the official pip install documentation
    • I've used get-pip.py method to install pip
  • Install boto3: pip install boto3 or python3 pip install boto3

AWS CLI

  • Install AWS CLI by following the instructions here in the docs
  • After installing AWS CLI, use aws configure command to setup AWS secret key, access key or temporary sts key.
  • Read more about the AWS boto3 configuration here
  • Install AWS-CLI: pip install awscli --upgrade --user

AWS Common Runtime (Optional)

In addition to the default install of Boto3, you can choose to include the new AWS Common Runtime (CRT). The AWS CRT is a collection of modular packages that serve as a new foundation for AWS SDKs.

Using Boto3

To use Boto3, you must first import it and indicate which service or services you’re going to use:

import boto3

aws_boto3_scripts's People

Contributors

chefgs avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.