{"id":15680,"date":"2017-01-09T12:15:12","date_gmt":"2017-01-09T10:15:12","guid":{"rendered":"https:\/\/www.webcodegeeks.com\/?p=15680"},"modified":"2017-01-05T17:39:33","modified_gmt":"2017-01-05T15:39:33","slug":"setting-aws-authentication-deploying-docker-apps","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/","title":{"rendered":"Setting Up AWS Authentication Before Deploying Docker Apps"},"content":{"rendered":"<p><a href=\"https:\/\/aws.amazon.com\/\">Amazon Web Services (AWS)<\/a> is one of the most ubiquitous cloud computing providers available today, delivering a seemingly endless suite of tools for cloud computing and development.<\/p>\n<p>From servers to storage and databases to deployment, if you need it, AWS probably has it. While it is used by companies like Netflix, Slack, and Pinterest to run their services, store data, and develop and deploy new site features, the full scope of AWS\u2019s entire product set can be overwhelming at best.<\/p>\n<p>Despite AWS\u2019s seemingly endless supply of products, there are really only a handful that are dedicated to delivering and serving application code. These are the <a href=\"https:\/\/documentation.codeship.com\/pro\/continuous-deployment\/aws\/#deploying-to-ec2-container-service\">Amazon EC2 Container Service<\/a>, <a href=\"https:\/\/documentation.codeship.com\/basic\/continuous-deployment\/deployment-to-elastic-beanstalk\/\">AWS Elastic Beanstalk<\/a>, and <a href=\"https:\/\/documentation.codeship.com\/basic\/continuous-deployment\/deployment-to-aws-codedeploy\/\">AWS CodeDeploy<\/a>. Each of these services can be deployed using Codeship.<\/p>\n<p>Before you can get started with AWS deployments, you must first add your AWS access keys to your project repository in order for Codeship to be able to access your AWS account. Because these access keys are secret (and therefore a horrible idea to commit to version control in plain text), <a href=\"https:\/\/documentation.codeship.com\/pro\/\">Codeship\u2019s CLI tool<\/a> offers functionality for encrypting them.<\/p>\n<p>Codeship\u2019s existing tutorial is far more thorough than this article warrants, but if you want to skip the link, here are the abridged steps:<\/p>\n<h2>1 \u2013 Find Your AES Key<\/h2>\n<p>Sign into your <a href=\"https:\/\/codeship.com\/?utm_source=CodeshipeBook&amp;utm_medium=ebook&amp;utm_campaign=deploy-docker-aws-codeship\">codeship.com account<\/a>, go to the General page of your Codeship project\u2019s settings, scroll down to the AES Key section, and copy the key:<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.05.35-PM.png\"><img decoding=\"async\" class=\"aligncenter wp-image-15682\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.05.35-PM-1024x277.png\" width=\"860\" height=\"232\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.05.35-PM-1024x277.png 1024w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.05.35-PM-300x81.png 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.05.35-PM-768x208.png 768w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.05.35-PM.png 1136w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<h2>2 \u2013 Save the Key<\/h2>\n<p>Paste the key into a file called <code>codeship.aes<\/code> in your project\u2019s root folder, and add the filename to your <code>.gitignore<\/code> file.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.07.17-PM.png\"><img decoding=\"async\" class=\"aligncenter wp-image-15683\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.07.17-PM.png\" width=\"860\" height=\"124\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.07.17-PM.png 1106w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.07.17-PM-300x43.png 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.07.17-PM-768x111.png 768w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.07.17-PM-1024x148.png 1024w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<h2>3 \u2013 Encrypt AWS Credentials<\/h2>\n<p>Add your AWS credentials to a file called <code>aws.env<\/code>, encrypt said file, and then add the unencrypted credentials to your <code>.gitignore<\/code> file.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.24-PM.png\"><img decoding=\"async\" class=\"aligncenter wp-image-15684\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.24-PM.png\" width=\"860\" height=\"125\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.24-PM.png 1113w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.24-PM-300x44.png 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.24-PM-768x112.png 768w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.24-PM-1024x149.png 1024w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.51-PM.png\"><img decoding=\"async\" class=\"aligncenter wp-image-15685\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.51-PM.png\" width=\"860\" height=\"122\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.51-PM.png 1113w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.51-PM-300x43.png 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.51-PM-768x109.png 768w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.08.51-PM-1024x145.png 1024w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<p>If you\u2019re not sure where to find your AWS credentials, you can generate a new set of \u201cAccess Keys\u201d in the <a href=\"https:\/\/www.amazon.com\/ap\/signin?openid.assoc_handle=aws&amp;openid.return_to=https:\/\/signin.aws.amazon.com\/oauth?response_type=code&amp;client_id=arn%253Aaws%253Aiam%253A%253A015428540659%253Auser%252Fiam&amp;redirect_uri=https%253A%252F%252Fconsole.aws.amazon.com%252Fiam%252Fhome%253Fnc2%253Dh_m_sc%2526state%253DhashArgs%252523security_credential%2526isauthcode%253Dtrue&amp;noAuthCookie=true&amp;openid.mode=checkid_setup&amp;openid.ns=http:\/\/specs.openid.net\/auth\/2.0&amp;openid.identity=http:\/\/specs.openid.net\/auth\/2.0\/identifier_select&amp;openid.claimed_id=http:\/\/specs.openid.net\/auth\/2.0\/identifier_select&amp;action=&amp;disableCorpSignUp=&amp;clientContext=&amp;marketPlaceId=&amp;poolName=&amp;authCookies=&amp;pageId=aws.ssop&amp;siteState=unregistered,de_DE&amp;accountStatusPolicy=P1&amp;sso=&amp;openid.pape.preferred_auth_policies=MultifactorPhysical&amp;openid.pape.max_auth_age=120&amp;openid.ns.pape=http:\/\/specs.openid.net\/extensions\/pape\/1.0&amp;server=\/ap\/signin?ie=UTF8&amp;accountPoolAlias=&amp;forceMobileApp=0&amp;language=de_DE&amp;forceMobileLa\">IAM Management Console<\/a>.<\/p>\n<p>It\u2019s important to note that you can only have two active pairs of root keys at any given time, and once you generate them, you will not be able to retrieve the secret key again, so it is recommended to take advantage of multiple users and managed policies.<\/p>\n<p>While the permissions you enable for an IAM policy will vary depending on your use case, the <a href=\"http:\/\/docs.aws.amazon.com\/IAM\/latest\/UserGuide\/access_policies_create.html#access_policies_create-generator\">Policy Generator<\/a> is an excellent tool for clearly defining which services and actions to allow or deny within a policy.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.11.12-PM.png\"><img decoding=\"async\" class=\"aligncenter wp-image-15686\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.11.12-PM.png\" width=\"860\" height=\"367\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.11.12-PM.png 1135w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.11.12-PM-300x128.png 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.11.12-PM-768x328.png 768w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.11.12-PM-1024x438.png 1024w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<p>Now, all that is necessary to enable authenticated AWS commands is to add the <code>encrypted_env_file<\/code> directive to any Codeship service that needs it:<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.12.03-PM.png\"><img decoding=\"async\" class=\"aligncenter wp-image-15687\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.12.03-PM.png\" width=\"860\" height=\"172\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.12.03-PM.png 1112w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.12.03-PM-300x60.png 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.12.03-PM-768x153.png 768w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-03-at-9.12.03-PM-1024x204.png 1024w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<p>This line essentially tells Codeship to decrypt the specified file using your account\u2019s AES key and add the contents to the Docker container\u2019s environment variables.<\/p>\n<p>As explained by <a href=\"http:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-chap-getting-started.html\">Amazon\u2019s documentation<\/a>, the AWS CLI looks for credentials directly in the environment variables, which means that all you need to do is install the AWS CLI tools to a configured Docker container, and you are good to go (while we will be using a pre-built Docker container provided by Codeship to accomplish this, you can find the <a href=\"http:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/installing.html#install-bundle-other-os\">steps to accomplish this manually here<\/a>).<\/p>\n<p>This has been Part One of a series about how to set up continuous deployment to AWS for your Docker apps using Codeship. Can\u2019t wait for Parts Two and Three? Download our free ebook, <a href=\"https:\/\/resources.codeship.com\/ebooks\/deploy-docker-aws-codeship?utm_source=CodeshipBlog&amp;utm_campaign=deploy-docker-aws-codeship\">Deploying Docker Apps to AWS<\/a>.<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td><span class=\"reference\">Reference: <\/span><\/td>\n<td><a href=\"https:\/\/blog.codeship.com\/setting-up-aws-authentication-before-deploying-docker-apps\/\">Setting Up AWS Authentication Before Deploying Docker Apps<\/a> from our <a href=\"http:\/\/www.webcodegeeks.com\/join-us\/wcg\/\">WCG partner<\/a>\u00a0Zachary Flower at the <a href=\"http:\/\/blog.codeship.com\/\">Codeship Blog<\/a> blog.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Amazon Web Services (AWS) is one of the most ubiquitous cloud computing providers available today, delivering a seemingly endless suite of tools for cloud computing and development. From servers to storage and databases to deployment, if you need it, AWS probably has it. While it is used by companies like Netflix, Slack, and Pinterest to &hellip;<\/p>\n","protected":false},"author":200,"featured_media":10356,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[325,217],"class_list":["post-15680","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","tag-amazon-aws","tag-docker"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Setting Up AWS Authentication Before Deploying Docker Apps - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"Amazon Web Services (AWS) is one of the most ubiquitous cloud computing providers available today, delivering a seemingly endless suite of tools for cloud\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting Up AWS Authentication Before Deploying Docker Apps - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"Amazon Web Services (AWS) is one of the most ubiquitous cloud computing providers available today, delivering a seemingly endless suite of tools for cloud\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webcodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-09T10:15:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Zachary Flower\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Zachary Flower\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/\"},\"author\":{\"name\":\"Zachary Flower\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/fad2572903e5f01809fc0ebd87f660cf\"},\"headline\":\"Setting Up AWS Authentication Before Deploying Docker Apps\",\"datePublished\":\"2017-01-09T10:15:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/\"},\"wordCount\":584,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\",\"keywords\":[\"Amazon AWS\",\"Docker\"],\"articleSection\":[\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/\",\"name\":\"Setting Up AWS Authentication Before Deploying Docker Apps - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\",\"datePublished\":\"2017-01-09T10:15:12+00:00\",\"description\":\"Amazon Web Services (AWS) is one of the most ubiquitous cloud computing providers available today, delivering a seemingly endless suite of tools for cloud\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DevOps\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/devops\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Setting Up AWS Authentication Before Deploying Docker Apps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"name\":\"Web Code Geeks\",\"description\":\"Web Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webcodegeeks\",\"https:\/\/x.com\/webcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/fad2572903e5f01809fc0ebd87f660cf\",\"name\":\"Zachary Flower\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cf21b18b45a53a55fbc1de5e222fe603b2602ee381f36abf004a8d6c81ffa1ed?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cf21b18b45a53a55fbc1de5e222fe603b2602ee381f36abf004a8d6c81ffa1ed?s=96&d=mm&r=g\",\"caption\":\"Zachary Flower\"},\"description\":\"Zachary Flower is a freelance web developer, writer, and polymath. He's built projects for the NSA and created features for companies like Name.com and Buffer.\",\"url\":\"https:\/\/www.webcodegeeks.com\/author\/zachary-flower\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setting Up AWS Authentication Before Deploying Docker Apps - Web Code Geeks - 2026","description":"Amazon Web Services (AWS) is one of the most ubiquitous cloud computing providers available today, delivering a seemingly endless suite of tools for cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/","og_locale":"en_US","og_type":"article","og_title":"Setting Up AWS Authentication Before Deploying Docker Apps - Web Code Geeks - 2026","og_description":"Amazon Web Services (AWS) is one of the most ubiquitous cloud computing providers available today, delivering a seemingly endless suite of tools for cloud","og_url":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_published_time":"2017-01-09T10:15:12+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","type":"image\/jpeg"}],"author":"Zachary Flower","twitter_card":"summary_large_image","twitter_creator":"@webcodegeeks","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Zachary Flower","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/"},"author":{"name":"Zachary Flower","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/fad2572903e5f01809fc0ebd87f660cf"},"headline":"Setting Up AWS Authentication Before Deploying Docker Apps","datePublished":"2017-01-09T10:15:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/"},"wordCount":584,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","keywords":["Amazon AWS","Docker"],"articleSection":["DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/","url":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/","name":"Setting Up AWS Authentication Before Deploying Docker Apps - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","datePublished":"2017-01-09T10:15:12+00:00","description":"Amazon Web Services (AWS) is one of the most ubiquitous cloud computing providers available today, delivering a seemingly endless suite of tools for cloud","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/devops\/setting-aws-authentication-deploying-docker-apps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"DevOps","item":"https:\/\/www.webcodegeeks.com\/category\/devops\/"},{"@type":"ListItem","position":3,"name":"Setting Up AWS Authentication Before Deploying Docker Apps"}]},{"@type":"WebSite","@id":"https:\/\/www.webcodegeeks.com\/#website","url":"https:\/\/www.webcodegeeks.com\/","name":"Web Code Geeks","description":"Web Developers Resource Center","publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.webcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webcodegeeks","https:\/\/x.com\/webcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/fad2572903e5f01809fc0ebd87f660cf","name":"Zachary Flower","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cf21b18b45a53a55fbc1de5e222fe603b2602ee381f36abf004a8d6c81ffa1ed?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cf21b18b45a53a55fbc1de5e222fe603b2602ee381f36abf004a8d6c81ffa1ed?s=96&d=mm&r=g","caption":"Zachary Flower"},"description":"Zachary Flower is a freelance web developer, writer, and polymath. He's built projects for the NSA and created features for companies like Name.com and Buffer.","url":"https:\/\/www.webcodegeeks.com\/author\/zachary-flower\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/15680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/users\/200"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=15680"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/15680\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/10356"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=15680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=15680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=15680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}