-
Notifications
You must be signed in to change notification settings - Fork 580
Home
Create or access an AWS Account and grant IAM privileges
Go to the Amazon Web Services page. Select Create a Free Account. If you don’t have any account with AWS, choose I'm a New User; Otherwise, select enter your credentials. Enter your login information, contact and billing information and read/accept AWS terms. During the account creation process, you will need to enter a code into your phone for verification purposes. Once you've completed the registration process, you will be sent an email with further instructions. You can access the console at anytime by clicking the link here. Setup a new user using the IAM Console. Fork and clone a GitHub repository
Fork the DevOps Essentials GitHub repository -
If you don't have a Github, create a free one by going to GitHub Signup. Make a note of the userid you created (will refer to as YOURGITHUBUSERID) Login to your GitHub account. Go to the devops-essentials GitHub repository. Click the Fork button. A message will display "Where do you want to fork this to?". Click on the button that displays Fork to YOURGITHUBUSERID. The command for cloning the DevOps Essentials GitHub repository will look something like this -
git clone https://github.com/YOURGITHUBUSERID/devops-essentials.git Create an OAuth token in GitHub
To integrate with GitHub, AWS CodePipeline uses OAuth tokens. Go to GitHub's Token Settings to generate your token and ensure you enable the following two scopes:.
admin:repo_hook, which is used to detect when you have committed and pushed changes to the repository repo, which is used to read and pull artifacts from public and private repositories into a pipeline Create an EC2 Key Pair
Go to the list of key pairs by going to this link. Select Create Key Pair and enter a unique name in the Key Pair Name field and select Create. Save the file onto your computer for future use. Select Close. Install the AWS CLI
Follow the Installing the AWS Command Line Interface instructions. Configure your AWS CLI, using this command:
aws configure For more information, see Configuring the AWS CLI