Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Salman Sohail
Salman Sohail

Posted on • Originally published atsalzam.com on

     

Create IAM (User, Roles and Policies)

This article is the continuation ofWordPress with Docker, AWS (ECS, Code Pipeline, Load Balancer, RDS, EFS) Complete Series. For better understating, please start from the beginning of the series.

In this article, we will prepare our IAM User and attachAmazon Elastic Container Registry (ECR) policy to it. It will help us to push our local Dockerized WordPress to AWS ECR.

Other than that, we will create IAM Roles for our Services such asCodeDeploy andCodePipeline so that code is automatically deployed on change.

Create ECR Policy

Login to your AWS console search IAM from the service tab and it will take you to the IAM Management Console. Click on Policies tab and selectCreate policy

Click onchoose a service and selectElastic Container Registry. In the resource section, Select all resources.

Give your policy a name and write that name down somewhere.

Create IAM User

We will now create an IAM User and attach the ECR policy we have create earlier.

From your IAM Management Console. Click on Users tab and select Add user and follow the simple steps to assign the newly created policy to the IAM User.

Finish all the steps until you see the following screen.

Download the CSV file, we need the credentials in that file in order to push our wordpress docker build to AWS ECR in the next article.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Detail-oriented programmer and architect with 10+ years’ success devising innovative and tailored solutions to meet ever-changing business requirements within diverse industries.
  • Location
    Melbourne, Australia
  • Education
    BS - Computer Science
  • Work
    Tech Lead at Australian Life Tech
  • Joined

More fromSalman Sohail

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp