{"id":16265,"date":"2017-02-23T12:15:05","date_gmt":"2017-02-23T10:15:05","guid":{"rendered":"https:\/\/www.webcodegeeks.com\/?p=16265"},"modified":"2017-02-21T13:33:44","modified_gmt":"2017-02-21T11:33:44","slug":"angularjs-2-series-deploy-application-aws-s3","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/","title":{"rendered":"AngularJs 2 Series: Deploy Your Application on AWS S3"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>In this article, I will demonstrate how to deploy a simple static Angular application on AWS cloud using S3 service. The article assumes that you have the necessary AWS account and able to access the S3 service. The application we are about to deploy will be simple and static in nature and there will be no server side code. For more complex application you could explore different deployment options. The S3 service of Amazon AWS is primarily used to host static website. We will deploy our Angular application that will be served as a static website using S3.<\/p>\n<h2>A brief about Simple Storage Service (S3)<\/h2>\n<p>S3 is a object storage facility provided by Amazon AWS. One can persist to or retrieve files from S3 using standard web UI or supported API. The object storage means you can place or store any flat files like images, videos or documents (Doc, Pdf etc). In S3, files are stored in a specialized folders called buckets. One can create as many buckets and store files in it. S3 is used to store static content i.e the content that does not change dynamically and therefore a popular choice to host static websites.<\/p>\n<h2>Creating a Simple Application<\/h2>\n<p>Before we deep dive into deployment process, we would need a simple application. You can quickly create the simple app using Angular CLI. For more information on setting up Angular CLI follow the <a href=\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-build-component\/\" target=\"_blank\">Build Your Own Component<\/a> article. Open the Node.js prompt and run the following command:<\/p>\n<pre class=\" brush:php\">ng new my-simple-app<\/pre>\n<p>The above command will quickly create a new application called <em>my-simple-app<\/em>. The application files will be created under <em>my-simple-app<\/em> folder. Once the application is created we will quickly build the same. Navigate to <em>my-simple-app<\/em> folder and run the following command:<\/p>\n<pre class=\" brush:php\">ng build<\/pre>\n<p>The above command will build the application i.e all the Typescript related code will be compiled into native JavaScript and stored in the <em>dist<\/em> folder. The <em>dist<\/em> folder is a folder of importance to us. We will deploy this <em>dist<\/em> folder in AWS S3.<\/p>\n<h2>Creating S3 Bucket<\/h2>\n<p>Let\u2019s get practical. Make sure you have an Amazon account and if not then you can sign up for free. For the first year Amazon AWS provides you with free access to try out different services with specific usage limit. How much usage is free is very well documented on the AWS portal. So make sure you understand the usage limit and not end up paying for overuse of any services. For our simple Angular application, it should not cost you anything but if you indeed want to avail AWS services to deploy a full blown application then make sure you are aware of their cost patterns. Log in to AWS Console. Click on <em>All Services<\/em> and you should see plethora of AWS services.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-all-services.jpg\"><img decoding=\"async\" class=\"aligncenter wp-image-16279\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-all-services.jpg\" width=\"860\" height=\"570\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-all-services.jpg 865w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-all-services-300x199.jpg 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-all-services-768x509.jpg 768w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/p>\n<p>Click on <em>S3<\/em> and click <em>Create Bucket<\/em> button.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-create-bucket.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-16280\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-create-bucket.jpg\" alt=\"\" width=\"730\" height=\"353\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-create-bucket.jpg 730w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-create-bucket-300x145.jpg 300w\" sizes=\"(max-width: 730px) 100vw, 730px\" \/><\/a><\/p>\n<p>Provide the name of the bucket. Since we are deploying a very simple app, let\u2019s name it <em>my-simple-app.com<\/em>. (The name typically should indicate the kind of website you intend to host and preferably in a DNS like naming convention like my-site.com). Bucket names are unique globally across regions and therefore it is advisable to choose a unique name that does not clash with other names. As websites have their domains registered, it is a good practice to keep your website name as a bucket name. Select the region which is the closest to where you are. Click <em>Create<\/em> to create the bucket. This is the bucket where we will store our Angular application.<\/p>\n<h2>Configuring the bucket<\/h2>\n<p>Bucket configuration will involve the following steps:<\/p>\n<ul>\n<li>Setting up permissions<\/li>\n<li>Configuring hosting details<\/li>\n<\/ul>\n<h2>Setting up permissions<\/h2>\n<p>We will setup permission for the newly created bucket that will host our application.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-permissions.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-16281\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-permissions.jpg\" alt=\"\" width=\"673\" height=\"390\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-permissions.jpg 673w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-permissions-300x174.jpg 300w\" sizes=\"(max-width: 673px) 100vw, 673px\" \/><\/a><br \/>\nSelect the <em>my-simple-app.com<\/em> bucket and navigate to <em>Permissions-&gt;Add bucket<\/em> policy and copy the following permission policy:<\/p>\n<pre class=\"brush:php\">{\r\n  \"Version\":\"2012-10-17\",\r\n  \"Statement\":[{\r\n\t\"Sid\":\"PublicReadGetObject\",\r\n        \"Effect\":\"Allow\",\r\n\t  \"Principal\": \"*\",\r\n      \"Action\":[\"s3:GetObject\"],\r\n      \"Resource\":[\"arn:aws:s3:::my-simple-app.com\/*\"\r\n      ]\r\n    }\r\n  ]\r\n}<\/pre>\n<p>The above policy states that anyone is allowed to access my simple app. By default if you do not setup any permission then no one can access your bucket. Since we want our site to be served to public, the above permission grants that access. Click <em>Save<\/em>.<\/p>\n<h2>Configuring hosting details<\/h2>\n<p>Next we will configure the hosting details.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-hosting-details.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-16282\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-hosting-details.jpg\" alt=\"\" width=\"655\" height=\"485\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-hosting-details.jpg 655w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-hosting-details-300x222.jpg 300w\" sizes=\"(max-width: 655px) 100vw, 655px\" \/><\/a><\/p>\n<p>Navigate to <em>Static Website Hosting-&gt;Enable website hosting<\/em> and provide the <strong>Index Document<\/strong> as <em>index.html<\/em>. This is the root html that will be served by our Angular application. The <strong>Error Document<\/strong> can also contain index.html for now. (If you are routing your errors to a separate HTML file then you can specify that file name). Typically, for a simple static application it is best to leave it to Angular to handle error conditions for any invalid routes. Click <em>Save<\/em>.<\/p>\n<h2>Deploying the Application<\/h2>\n<p>The next step will be to deploy our simple application, it means we will upload our Angular compiled files to our bucket.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-upload.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-16283\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-upload.jpg\" alt=\"\" width=\"847\" height=\"417\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-upload.jpg 847w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-upload-300x148.jpg 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-upload-768x378.jpg 768w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/a><\/p>\n<p>Click on our newly configured bucket \u2013 <em>my-simple-app.com<\/em>. Select <em>Action-&gt;Upload<\/em>. Here you will be able to add files either using drag and drop feature or by selecting <em>Add Files<\/em> option. You can click <em>Add Files<\/em> option and navigate to the <em>dist<\/em> folder of your <em>my-simple-app<\/em> Angular application. Under <em>dist<\/em>, select everything and drag it to your bucket. Click <em>Start Upload<\/em>. This will upload all the files and folder under the <em>dist<\/em> folder to our <em>my-simple-app.com<\/em> bucket. Now our simple application is deployed on S3.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-endpoint-url.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-16284\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-endpoint-url.jpg\" alt=\"\" width=\"659\" height=\"172\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-endpoint-url.jpg 659w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/02\/aws-s3-endpoint-url-300x78.jpg 300w\" sizes=\"(max-width: 659px) 100vw, 659px\" \/><\/a><\/p>\n<p>To test our deployment, select <em>Properties<\/em> and navigate to <em>Static Website Hosting<\/em> and you will see the endpoint URL (which is a long Amazon provided URN). Just click that URL and you will see your Angular app running on AWS S3.<br \/>\nIn a more real world situation, you may want to register a domain name and setup DNS servers and map it to your S3 bucket. So that you can directly use that domain to view your site instead of using the default endpoint address provided by Amazon AWS. You can explore various other options within S3 to suit your deployment needs.<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td><span class=\"reference\">Reference: <\/span><\/td>\n<td><a href=\"http:\/\/techorgan.com\/javascript-framework\/angularjs-2-series-deploy-your-application-on-aws-s3\/\">AngularJs 2 Series: Deploy Your Application on AWS S3<\/a> from our <a href=\"http:\/\/www.webcodegeeks.com\/join-us\/wcg\/\">WCG partner<\/a> Rajeev Hathi at the <a href=\"http:\/\/techorgan.com\/\">TECH ORGAN<\/a> blog.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this article, I will demonstrate how to deploy a simple static Angular application on AWS cloud using S3 service. The article assumes that you have the necessary AWS account and able to access the S3 service. The application we are about to deploy will be simple and static in nature and there will &hellip;<\/p>\n","protected":false},"author":91,"featured_media":909,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[325],"class_list":["post-16265","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-angular-js","tag-amazon-aws"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AngularJs 2 Series: Deploy Your Application on AWS S3 - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"Introduction In this article, I will demonstrate how to deploy a simple static Angular application on AWS cloud using S3 service. The article assumes that\" \/>\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\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AngularJs 2 Series: Deploy Your Application on AWS S3 - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"Introduction In this article, I will demonstrate how to deploy a simple static Angular application on AWS cloud using S3 service. The article assumes that\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/\" \/>\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-02-23T10:15:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-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=\"Rajeev Hathi\" \/>\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=\"Rajeev Hathi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/\"},\"author\":{\"name\":\"Rajeev Hathi\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/a31899e91ce8c7e23aa3835a86bc749f\"},\"headline\":\"AngularJs 2 Series: Deploy Your Application on AWS S3\",\"datePublished\":\"2017-02-23T10:15:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/\"},\"wordCount\":1021,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg\",\"keywords\":[\"Amazon AWS\"],\"articleSection\":[\"Angular.js\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/\",\"name\":\"AngularJs 2 Series: Deploy Your Application on AWS S3 - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg\",\"datePublished\":\"2017-02-23T10:15:05+00:00\",\"description\":\"Introduction In this article, I will demonstrate how to deploy a simple static Angular application on AWS cloud using S3 service. The article assumes that\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/javascript\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Angular.js\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/javascript\/angular-js\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"AngularJs 2 Series: Deploy Your Application on AWS S3\"}]},{\"@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\/a31899e91ce8c7e23aa3835a86bc749f\",\"name\":\"Rajeev Hathi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7b3d1f5c751db08d0cecf939d205a54df4f1e8925989025e169b55425423fe40?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7b3d1f5c751db08d0cecf939d205a54df4f1e8925989025e169b55425423fe40?s=96&d=mm&r=g\",\"caption\":\"Rajeev Hathi\"},\"description\":\"Rajeev is a senior Java architect and developer. He has been designing and developing business applications for various companies (both product and services). He is co-author of the book titled 'Apache CXF Web Service Development' and shares his technical knowledge through his blog platform techorgan.com\",\"sameAs\":[\"http:\/\/techorgan.com\/\"],\"url\":\"https:\/\/www.webcodegeeks.com\/author\/rajeev-hathi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AngularJs 2 Series: Deploy Your Application on AWS S3 - Web Code Geeks - 2026","description":"Introduction In this article, I will demonstrate how to deploy a simple static Angular application on AWS cloud using S3 service. The article assumes that","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\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/","og_locale":"en_US","og_type":"article","og_title":"AngularJs 2 Series: Deploy Your Application on AWS S3 - Web Code Geeks - 2026","og_description":"Introduction In this article, I will demonstrate how to deploy a simple static Angular application on AWS cloud using S3 service. The article assumes that","og_url":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_published_time":"2017-02-23T10:15:05+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg","type":"image\/jpeg"}],"author":"Rajeev Hathi","twitter_card":"summary_large_image","twitter_creator":"@webcodegeeks","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Rajeev Hathi","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/"},"author":{"name":"Rajeev Hathi","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/a31899e91ce8c7e23aa3835a86bc749f"},"headline":"AngularJs 2 Series: Deploy Your Application on AWS S3","datePublished":"2017-02-23T10:15:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/"},"wordCount":1021,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg","keywords":["Amazon AWS"],"articleSection":["Angular.js"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/","url":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/","name":"AngularJs 2 Series: Deploy Your Application on AWS S3 - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg","datePublished":"2017-02-23T10:15:05+00:00","description":"Introduction In this article, I will demonstrate how to deploy a simple static Angular application on AWS cloud using S3 service. The article assumes that","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/angularjs-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/javascript\/angular-js\/angularjs-2-series-deploy-application-aws-s3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"JavaScript","item":"https:\/\/www.webcodegeeks.com\/category\/javascript\/"},{"@type":"ListItem","position":3,"name":"Angular.js","item":"https:\/\/www.webcodegeeks.com\/category\/javascript\/angular-js\/"},{"@type":"ListItem","position":4,"name":"AngularJs 2 Series: Deploy Your Application on AWS S3"}]},{"@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\/a31899e91ce8c7e23aa3835a86bc749f","name":"Rajeev Hathi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7b3d1f5c751db08d0cecf939d205a54df4f1e8925989025e169b55425423fe40?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7b3d1f5c751db08d0cecf939d205a54df4f1e8925989025e169b55425423fe40?s=96&d=mm&r=g","caption":"Rajeev Hathi"},"description":"Rajeev is a senior Java architect and developer. He has been designing and developing business applications for various companies (both product and services). He is co-author of the book titled 'Apache CXF Web Service Development' and shares his technical knowledge through his blog platform techorgan.com","sameAs":["http:\/\/techorgan.com\/"],"url":"https:\/\/www.webcodegeeks.com\/author\/rajeev-hathi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/16265","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\/91"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=16265"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/16265\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/909"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=16265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=16265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=16265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}