{"id":3726,"date":"2022-04-20T09:18:40","date_gmt":"2022-04-20T09:18:40","guid":{"rendered":"https:\/\/petabytz.com\/?p=3726"},"modified":"2026-02-19T10:29:00","modified_gmt":"2026-02-19T10:29:00","slug":"amazon-web-services-wordpress-configuration-on-ecs-using-ecr-images","status":"publish","type":"post","link":"https:\/\/petabytz.com\/blogs\/amazon-web-services-wordpress-configuration-on-ecs-using-ecr-images\/","title":{"rendered":"Amazon web services: WordPress configuration on ECS using ECR images"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"3726\" class=\"elementor elementor-3726\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3c493b5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3c493b5\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1c2c838\" data-id=\"1c2c838\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d333c61 elementor-widget elementor-widget-heading\" data-id=\"d333c61\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Amazon web services: WordPress configuration on ECS using ECR images<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ba71db3 elementor-widget elementor-widget-text-editor\" data-id=\"ba71db3\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This blog guide you to push any basic images from docker hub to ECR and use that images in ECS using AWS Fargate for building containerize application.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-32e348e elementor-widget elementor-widget-image\" data-id=\"32e348e\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/0_yT4RBerwLIC_J7Gu.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e049fe3 elementor-widget elementor-widget-text-editor\" data-id=\"e049fe3\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"5f9d\" class=\"nt nu ct ba az dw nv nw nx ny nz oa ob oc od oe of\">Key components<\/h2><ol class=\"\"><li id=\"0d92\" class=\"mi mj ct ba mk b ml og mn oh mp oi mr oj mt ok mv ol om on\" data-selectable-paragraph=\"\">AWS ECS<\/li><li id=\"fb4f\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv ol om on\" data-selectable-paragraph=\"\">AWS ECR<\/li><li id=\"dbd8\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv ol om on\" data-selectable-paragraph=\"\">AWS Fargate<\/li><li id=\"c99b\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv ol om on\" data-selectable-paragraph=\"\">Docker<\/li><\/ol><h2 id=\"fecc\" class=\"nt nu ct ba az dw nv nw nx ny nz oa ob oc od oe of\">What is ECS(Elastic Container Service)?<\/h2><p id=\"7fe6\" class=\"mi mj ct ba mk b ml og mn oh mp oi mr oj mt ok mv\" data-selectable-paragraph=\"\">Amazon Elastic Container Service (Amazon ECS) is a highly scalable, high-performance\u00a0<a class=\"bx di ot ou ov ow\" href=\"https:\/\/aws.amazon.com\/containers\/\" target=\"_blank\" rel=\"noopener noreferrer\">container<\/a>\u00a0orchestration service that supports\u00a0<a class=\"bx di ot ou ov ow\" href=\"https:\/\/aws.amazon.com\/docker\/\" target=\"_blank\" rel=\"noopener noreferrer\">Docker<\/a>\u00a0containers and allows you to easily run and scale containerized applications on AWS. Amazon ECS eliminates the need for you to install and operate your own container orchestration software, manage and scale a cluster of virtual machines, or schedule containers on those virtual machines.<\/p><p id=\"63e8\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">With simple API calls, you can launch and stop Docker-enabled applications, query the complete state of your application, and access many familiar features such as IAM roles, security groups, load balancers, Amazon CloudWatch Events, AWS CloudFormation templates, and AWS CloudTrail logs.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e3431e4 elementor-widget elementor-widget-image\" data-id=\"e3431e4\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"500\" height=\"183\" src=\"https:\/\/petabytz.com\/blogs\/wp-content\/uploads\/2022\/04\/1_PTfObb_xR2DJeb-uR4PvpA.png\" class=\"attachment-large size-large wp-image-3742\" alt=\"\" srcset=\"https:\/\/petabytz.com\/blogs\/wp-content\/uploads\/2022\/04\/1_PTfObb_xR2DJeb-uR4PvpA.png 500w, https:\/\/petabytz.com\/blogs\/wp-content\/uploads\/2022\/04\/1_PTfObb_xR2DJeb-uR4PvpA-300x110.png 300w\" sizes=\"100vw\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fd0d9e6 elementor-widget elementor-widget-text-editor\" data-id=\"fd0d9e6\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"eee0\" class=\"nt nu ct ba az dw nv nw nx ny nz oa ob oc od oe of\">What is ECR(Elastic Container Registry)?<\/h2><p id=\"cb1a\" class=\"mi mj ct ba mk b ml og mn oh mp oi mr oj mt ok mv\" data-selectable-paragraph=\"\">Amazon Elastic Container Registry (ECR) is a fully-managed\u00a0<a class=\"bx di ot ou ov ow\" href=\"https:\/\/aws.amazon.com\/docker\/\" target=\"_blank\" rel=\"noopener noreferrer\">Docker<\/a>\u00a0container registry that makes it easy for developers to store, manage, and deploy Docker container images. Amazon ECR is integrated with\u00a0<a class=\"bx di ot ou ov ow\" href=\"https:\/\/aws.amazon.com\/ecs\/\" target=\"_blank\" rel=\"noopener noreferrer\">Amazon Elastic Container Service (ECS)<\/a>, simplifying your development to production workflow. Amazon ECR eliminates the need to operate your own container repositories or worry about scaling the underlying infrastructure. Amazon ECR hosts your images in a highly available and scalable architecture, allowing you to reliably deploy containers for your applications. Integration with AWS Identity and Access Management (IAM) provides resource-level control of each repository. With Amazon ECR, there are no upfront fees or commitments. You pay only for the amount of data you store in your repositories and data transferred to the Internet.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-95a2cb8 elementor-widget elementor-widget-image\" data-id=\"95a2cb8\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"300\" height=\"108\" data-src=\"https:\/\/petabytz.com\/blogs\/wp-content\/uploads\/2022\/04\/0_LNefgW5h-a8oa3Jd.png\" class=\"attachment-large size-large wp-image-3748 lazyload\" alt=\"\" data-sizes=\"100vw\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/108;\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3aa0717 elementor-widget elementor-widget-text-editor\" data-id=\"3aa0717\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"1888\" class=\"nt nu ct ba az dw nv nw nx ny nz oa ob oc od oe of\">What is AWS Fargate?<\/h2><p id=\"8be2\" class=\"mi mj ct ba mk b ml og mn oh mp oi mr oj mt ok mv\" data-selectable-paragraph=\"\">AWS Fargate is a compute engine for Amazon ECS that allows you to run\u00a0<a class=\"bx di ot ou ov ow\" href=\"http:\/\/aws.amazon.com\/what-are-containers\" target=\"_blank\" rel=\"noopener noreferrer\">containers<\/a>\u00a0without having to manage servers or clusters. With AWS Fargate, you no longer have to provision, configure, and scale clusters of virtual machines to run containers. This removes the need to choose server types, decide when to scale your clusters, or optimize cluster packing. AWS Fargate removes the need for you to interact with or think about servers or clusters. Fargate lets you focus on designing and building your applications instead of managing the infrastructure that runs them.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f2ae587 elementor-widget elementor-widget-image\" data-id=\"f2ae587\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/blogs\/wp-content\/uploads\/2022\/04\/0_gZAQKL7bWba6opDM.jpeg\" title=\"0_gZAQKL7bWba6opDM\" alt=\"0_gZAQKL7bWba6opDM\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/465;\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2d71fbd elementor-widget elementor-widget-text-editor\" data-id=\"2d71fbd\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"11df\" class=\"nt nu ct ba az dw nv nw nx ny nz oa ob oc od oe of\">Summary of the ECS Terms<\/h2><p id=\"4185\" class=\"mi mj ct ba mk b ml og mn oh mp oi mr oj mt ok mv\" data-selectable-paragraph=\"\">First we need to cover ECS terminology:<\/p><ul class=\"\"><li id=\"9e46\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv pd om on\" data-selectable-paragraph=\"\">Task Definition \u2014 This a blueprint that describes how a docker container should launch. If you are already familiar with AWS, it is like a LaunchConfig except instead it is for a docker container instead of a instance. It contains settings like exposed port, docker image, cpu shares, memory requirement, command to run and environmental variables.<\/li><li id=\"0148\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv pd om on\" data-selectable-paragraph=\"\">Task \u2014 This is a running container with the settings defined in the Task Definition. It can be thought of as an \u201cinstance\u201d of a Task Definition.<\/li><li id=\"dbec\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv pd om on\" data-selectable-paragraph=\"\">Service \u2014 Defines long running tasks of the same Task Definition. This can be 1 running container or multiple running containers all using the same Task Definition.<\/li><li id=\"b2d0\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv pd om on\" data-selectable-paragraph=\"\">Cluster \u2014 A logic group of EC2 instances. When an instance launches the ecs-agent software on the server registers the instance to an ECS Cluster. This is easily configurable by setting the ECS_CLUSTER variable in \/etc\/ecs\/ecs.config described\u00a0<a class=\"bx di ot ou ov ow\" href=\"http:\/\/docs.aws.amazon.com\/AmazonECS\/latest\/developerguide\/launch_container_instance.html\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/li><li id=\"a00c\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv pd om on\" data-selectable-paragraph=\"\">Container Instance \u2014 This is just an EC2 instance that is part of an ECS Cluster and has docker and the\u00a0<a class=\"bx di ot ou ov ow\" href=\"https:\/\/github.com\/aws\/amazon-ecs-agent\" target=\"_blank\" rel=\"noopener noreferrer\">ecs-agent<\/a>\u00a0running on it.<\/li><\/ul><p id=\"2f4b\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">I remember when I first got introduced to the all the terms, I quickly got confused. AWS provides nice\u00a0<a class=\"bx di ot ou ov ow\" href=\"http:\/\/docs.aws.amazon.com\/AmazonECS\/latest\/developerguide\/Welcome.html\" target=\"_blank\" rel=\"noopener noreferrer\">detailed diagrams<\/a>\u00a0to help explain the terms. Here is a simplified diagram to help visualize and explain the terms.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f3cb5e3 elementor-widget elementor-widget-image\" data-id=\"f3cb5e3\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/0_BD0GCd-DMiuZYWvb.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d48d016 elementor-widget elementor-widget-text-editor\" data-id=\"d48d016\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p id=\"679e\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">In this diagram you can see that there are 4 running Tasks or Docker containers. They are part of an ECS Service. The Service and Tasks span 2 Container Instances. The Container Instances are part of a logical group called an ECS Cluster.<\/p><p id=\"7f0a\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">I did not show a Task Definition in the diagram because a Task is simply an \u201cinstance\u201d of Task Definition.<\/p><h2 id=\"4a91\" class=\"nt nu ct ba az dw nv nw nx ny nz oa ob oc od oe of\">Step by step guide of ECS Configuration using ECR<\/h2><ol class=\"\"><li id=\"f45b\" class=\"mi mj ct ba mk b ml og mn oh mp oi mr oj mt ok mv ol om on\" data-selectable-paragraph=\"\"><strong class=\"mk pg\">Create repository in ECR<\/strong><\/li><\/ol><figure class=\"mx my mz na nb iz t u paragraph-image\"><div class=\"nc nd bu ne v\"><div class=\"t u ph\"><div class=\"fm l bu nj\">\u00a0<\/div><\/div><\/div><\/figure>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8a86493 elementor-widget elementor-widget-image\" data-id=\"8a86493\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_0lgd2rZ3TVjH1dVF36ffnw.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a3b0889 elementor-widget elementor-widget-text-editor\" data-id=\"a3b0889\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p id=\"798c\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\"><strong class=\"mk pg\">2. Get login access to push docker image in ECR using AWS CLI<\/strong><\/p><p id=\"1c28\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">Run the\u00a0<strong class=\"mk pg\">aws ecr get-login<\/strong>\u00a0command. The example below is for the default registry associated with the account making the request. To access other account registries, use the\u00a0<code class=\"nj pj pk pl pm b\">--registry-ids\u00a0<em class=\"pn\">aws_account_id<\/em><\/code>\u00a0option. For more information, see\u00a0<a class=\"bx di ot ou ov ow\" href=\"https:\/\/docs.aws.amazon.com\/cli\/latest\/reference\/ecr\/get-login.html\" target=\"_blank\" rel=\"noopener noreferrer\">get-login<\/a>\u00a0in the\u00a0<em class=\"pn\">AWS CLI Command Reference<\/em>.<\/p><blockquote class=\"po pp pq\"><p id=\"cde9\" class=\"mi mj ct pn mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\"><code class=\"nj pj pk pl pm b\">aws ecr get-login --region\u00a0<em class=\"ba\">region<\/em>\u00a0--no-include-email<\/code><\/p><\/blockquote><p id=\"7ee4\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">Copy and paste the\u00a0<strong class=\"mk pg\">docker login<\/strong>\u00a0command into a terminal to authenticate your Docker CLI to the registry. This command provides an authorization token that is valid for the specified registry for 12 hours.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1db4bb6 elementor-widget elementor-widget-image\" data-id=\"1db4bb6\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_o7y0kf7bdaoOM8mNNP652w.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-23649f3 elementor-widget elementor-widget-text-editor\" data-id=\"23649f3\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p id=\"c482\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\"><strong class=\"mk pg\">3. Get a Docker Image<\/strong><\/p><p id=\"8d52\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">Before you can push an image to Amazon ECR, you must have one to push. If you do not already have an image to use, you can create one by following the steps in\u00a0<a class=\"bx di ot ou ov ow\" href=\"https:\/\/docs.aws.amazon.com\/AmazonECR\/latest\/userguide\/docker-basics.html\" target=\"_blank\" rel=\"noopener noreferrer\">Docker Basics for Amazon ECR<\/a>. Or, pull an image from Docker Hub that you would like to have in your Amazon ECR registry. To pull the wordpress image from Docker Hub to your local system, run the following command:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bc4855a elementor-widget elementor-widget-image\" data-id=\"bc4855a\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_iCfFgn8Wqmn_Slxof_DbSw.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b229c07 elementor-widget elementor-widget-text-editor\" data-id=\"b229c07\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p id=\"3179\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\"><strong class=\"mk pg\">4. Push an Image to Amazon ECR<\/strong><\/p><p id=\"4c20\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">Now you can push your image to the Amazon ECR repository you created in the previous section. You use the\u00a0<strong class=\"mk pg\">docker<\/strong>\u00a0CLI to push images, but there are a few prerequisites that must be satisfied for this to work properly:<\/p><ul class=\"\"><li id=\"bd6f\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv pd om on\" data-selectable-paragraph=\"\">The minimum version of\u00a0<strong class=\"mk pg\">docker<\/strong>\u00a0is installed: 1.7<\/li><li id=\"fc6f\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv pd om on\" data-selectable-paragraph=\"\">The Amazon ECR authorization token has been configured with\u00a0<strong class=\"mk pg\">docker login<\/strong>.<\/li><li id=\"6ea5\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv pd om on\" data-selectable-paragraph=\"\">The Amazon ECR repository exists and the user has access to push to the repository.<\/li><\/ul><p id=\"bd43\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">After those prerequisites are met, you can push your image to your newly created repository in the default registry for your account.<\/p><p id=\"0449\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\"><strong class=\"mk pg\">To tag and push an image to Amazon ECR<\/strong><\/p><p id=\"7d75\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">List the images you have stored locally to identify the image to tag and push. Tag the image to push to your repository.<\/p><blockquote class=\"po pp pq\"><p id=\"44de\" class=\"mi mj ct pn mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\"><code class=\"nj pj pk pl pm b\"><strong class=\"mk pg\">docker tag ubuntu:trusty\u00a0<em class=\"ba\">aws_account_id<\/em>.dkr.ecr.us-east-1.amazonaws.com\/wordpress:latest<\/strong><\/code><\/p><\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-eed6c6c elementor-widget elementor-widget-image\" data-id=\"eed6c6c\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_XLVVRQ0d-BuxD_SV_lsglA.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ce00029 elementor-widget elementor-widget-text-editor\" data-id=\"ce00029\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p id=\"3182\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">push the image<\/p><blockquote class=\"po pp pq\"><p id=\"cb5e\" class=\"mi mj ct pn mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\"><code class=\"nj pj pk pl pm b\"><strong class=\"mk pg\">docker push\u00a0<em class=\"ba\">aws_account_id<\/em>.dkr.ecr.us-east-1.amazonaws.com\/wordpress:latest<\/strong><\/code><\/p><\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-31839ca elementor-widget elementor-widget-image\" data-id=\"31839ca\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_REhZDxCyInltMV8oUi1PNg.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0e67bb2 elementor-widget elementor-widget-image\" data-id=\"0e67bb2\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_sdW0pQFz9yJ_iAB06RhPuQ.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cd2e479 elementor-widget elementor-widget-text-editor\" data-id=\"cd2e479\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p id=\"9c4a\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\"><strong class=\"mk pg\">5. Create custom cluster in ECS<\/strong><\/p><p id=\"2d9b\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">Select custom cluster using manually configuration by providing ECR repository.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-71c21dc elementor-widget elementor-widget-image\" data-id=\"71c21dc\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_BxHC2SaIM-CJGHkXNxM6XQ.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a082a2b elementor-widget elementor-widget-text-editor\" data-id=\"a082a2b\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Create container from ECR repository<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8c345ae elementor-widget elementor-widget-image\" data-id=\"8c345ae\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_2_jdDhtJceQym2DCYnXg2A.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d9780d6 elementor-widget elementor-widget-image\" data-id=\"d9780d6\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_P-ai1oXoOsA6nkT8v38SHQ.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-781dc9c elementor-widget elementor-widget-text-editor\" data-id=\"781dc9c\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p id=\"03b9\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">Review cluster<\/p><figure class=\"mx my mz na nb iz t u paragraph-image\"><div class=\"nc nd bu ne v\"><div class=\"t u ph\"><div class=\"fm l bu nj\">\u00a0<\/div><\/div><\/div><\/figure>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-320b683 elementor-widget elementor-widget-image\" data-id=\"320b683\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_dvvEYhxF1ugPRsVqIQX1BA.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7a82bb5 elementor-widget elementor-widget-text-editor\" data-id=\"7a82bb5\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Cluster create<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8776a9c elementor-widget elementor-widget-image\" data-id=\"8776a9c\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_XOcX6RVN14qePp8EwOFvLw.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8b2ab19 elementor-widget elementor-widget-image\" data-id=\"8b2ab19\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_p2WgyojDiYNe_f1H6FGQKg.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-763a3fc elementor-widget elementor-widget-text-editor\" data-id=\"763a3fc\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p id=\"5fa5\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">Task Definition provide task to cluster to launch docker image in cluster<\/p><figure class=\"mx my mz na nb iz t u paragraph-image\"><div class=\"nc nd bu ne v\"><div class=\"t u qg\"><div class=\"fm l bu nj\">\u00a0<\/div><\/div><\/div><\/figure>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-11b05fc elementor-widget elementor-widget-image\" data-id=\"11b05fc\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_d6-iEwRkIIMAjZ0GixSu2w.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-075e6c5 elementor-widget elementor-widget-text-editor\" data-id=\"075e6c5\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p id=\"7803\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">Open wordpress site using public DNS of load balance<\/p><figure class=\"mx my mz na nb iz t u paragraph-image\"><div class=\"nc nd bu ne v\"><div class=\"t u ph\"><div class=\"fm l bu nj\">\u00a0<\/div><\/div><\/div><\/figure>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-079d466 elementor-widget elementor-widget-image\" data-id=\"079d466\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" data-src=\"https:\/\/petabytz.com\/wp-content\/uploads\/2022\/04\/1_zVAQsCSoClCwEAPimVrx5A.png\" title=\"\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e92a657 elementor-widget elementor-widget-text-editor\" data-id=\"e92a657\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"095f\" class=\"nt nu ct ba az dw nv nw nx ny nz oa ob oc od oe of\">Clean up:<\/h2><p id=\"2317\" class=\"mi mj ct ba mk b ml og mn oh mp oi mr oj mt ok mv\" data-selectable-paragraph=\"\">It is quickest to use the AWS Console to delete the following resources:<\/p><ul class=\"\"><li id=\"3609\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv pd om on\" data-selectable-paragraph=\"\">ELB<\/li><li id=\"9f56\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv pd om on\" data-selectable-paragraph=\"\">ECS Cluster<\/li><li id=\"0107\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv pd om on\" data-selectable-paragraph=\"\">CloudFormation stack<\/li><li id=\"da68\" class=\"mi mj ct ba mk b ml oo mn op mp oq mr or mt os mv pd om on\" data-selectable-paragraph=\"\">VPC<\/li><\/ul><h2 id=\"b227\" class=\"nt nu ct ba az dw nv nw nx ny nz oa ob oc od oe of\">Conclusion:<\/h2><p id=\"ac73\" class=\"mi mj ct ba mk b ml og mn oh mp oi mr oj mt ok mv\" data-selectable-paragraph=\"\">You can scale cluster by updating task and changing running version of task.<\/p><p id=\"a444\" class=\"mi mj ct ba mk b ml mm mn mo mp mq mr ms mt mu mv\" data-selectable-paragraph=\"\">Overall, I think that ECS is a pretty amazing service and it has taken the hassle of managing docker orchestration and provisioning responsibility away.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Amazon web services: WordPress configuration on ECS using ECR images This blog guide you to push any basic images from docker hub to ECR and use that images in ECS using AWS Fargate for building containerize application. Key components AWS ECS AWS ECR AWS Fargate Docker What is ECS(Elastic Container Service)? Amazon Elastic Container Service [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3742,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[27,25],"tags":[],"class_list":["post-3726","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aws","category-blogs"],"acf":[],"_links":{"self":[{"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/posts\/3726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/comments?post=3726"}],"version-history":[{"count":3,"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/posts\/3726\/revisions"}],"predecessor-version":[{"id":14738,"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/posts\/3726\/revisions\/14738"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/media\/3742"}],"wp:attachment":[{"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/media?parent=3726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/categories?post=3726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/petabytz.com\/blogs\/wp-json\/wp\/v2\/tags?post=3726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}