Earlier, you created your AWS account. Now you must create AWS access keys and secrets that will enable you to access and interact with AWS programmatically, which is also essential for integrating AWS into your pipeline.
In your AWS Console, navigate to
IAM > User > your user > Security credentials tab.
Your screen should look similar to this:
Click the Create access key button.
Store the secret access key in a safe place. Once you click out of the box, that key will no longer be accessible. You will have to delete that access key pair and generate a new one.
After generating the access keys, your dashboard should look something like this:
These access keys are part of an IAM User that has administrative privileges. Do not share these with anyone, or they will have access your AWS account with admin privileges.
You will need to create an AWS EC2 Key Pair which will grant Terraform access to provision the EC2 nodes in later sections.
ee-default-keypairfor the key pair
You have created and safely stored your newly created AWS Access Keys and Secrets and the ee-default-keypair AWS EC2 key pair. Now, let’s fork the GitHub example project repository for this workshop.