AWS App2Container requires below prerequisites completed before you use it for the first time. In this lab, we have pre-installed all the prerequisites tools and created the source environment compatible with these prerequisites.
You can check the prerequisites check-list from App2Container Prerequisites
As the next step, please follow the below tasks to set-up your App2Container service.
App2Container needs access to AWS services in order to run most of its commands. There are two very different sets of permissions needed to run app2container commands.
We recommend that you create general purpose IAM resources, and if you plan to use App2Container to deploy your containers or create pipelines, that you create separate IAM resources for deployment which has elevated rights.
For this workshop, we will create a user with the administrator rights so it can deploy a containerized application using the AWS services for deployment that are supported by App2Container.
Navigate to the IAM Console by clicking “Services” > “IAM” (Identity Access Management)
a. From the left pane, click Users > Add user
b. Provide a User name, e.g. app2container
c. Check the ‘programmatic access’
d. click Next: Permissions
Set permissions for your app2Container user.
a. Select “Attach existing policies directly” b. Check “AdministratorAccess” c. Click “Next: Tags”
Review and Create user
a. Select “Next: Review” and then click Create user
b. On the Success screen, find the Access key ID and Secret Access Key and copy them down (you’ll use them in the following steps).
Congratulations! With this step, you set up your environment prerequisites and you are ready for to go to the next section. In the next section, you will install App2Container and set it up to start your containerization process.