Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hybrid Cloud for Developers

You're reading from   Hybrid Cloud for Developers Develop and deploy cost-effective applications on the AWS and OpenStack platforms with ease

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788830874
Length 280 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Manoj Hirway Manoj Hirway
Author Profile Icon Manoj Hirway
Manoj Hirway
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introducing Hybrid Clouds FREE CHAPTER 2. Exploring AWS Cloud 3. Exploring OpenStack Private Cloud 4. Developing AWS Cloud Applications 5. Developing OpenStack Applications 6. Cloud Migration 7. Hybrid Cloud Best Practices 8. Monitoring and Troubleshooting Hybrid Cloud 9. Hybrid Cloud Security 10. Other Books You May Enjoy

Setting up a Unix development environment for Python


For Unix developers, the following prerequisites must be available for setting up the development environment:

  • Any Linux distribution 
  • Python 2.7 or above installed
  • An AWS account (access key and secret access key)
  • An internet connection

AWS provides Python packages for accessing various services. For example, a Python package called boto3 is provided by AWS for accessing all AWS services. 

Execute the following steps to set up your development environment on a Unix system:

  1. Install Python 2.7 or above
  2. Install Python package manager (pip)
  3. Using pip, install the Python packages boto3 and awscli:
pip install boto3
pip install awscli
  1. Configure the AWS account by invoking the aws configure command and provide your AWS access key and secret access key. Also specify the region:
[root@packt-pub]# aws configure
AWS Access Key ID []: AJDUPOET79345LJNMSKL
AWS Secret Access Key []: KSHDF908lkjLKLLDFGlkjld9435NKLJLDlkslLKJ
Default region name [us-east-1]: us...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime