![]() ![]() You will now be able to select the Application name and Deployment group that you just created. Instead, click on Previous (which will take you back to Add build stage) and then click Next and come back to Add deploy stage. Now let’s go back to Add deploy stage browser tab and select the Application name and Deployment group that we just created and click Next to review our pipelineĭO NOT refresh your browser tab if you don’t see your Application name and Deployment group that you just created when you click on textbox for each, it will remove all the data you’ve entered so far for your pipeline. Now create a new role for EC2 and AWS CodeDeploy: Let’s navigate to our AWS Management Console and search for IAM service. The policies that you attach to the service role determine which AWS resources the service can access and what it can do with those resources. Create IAM Role for EC2 and AWS CodeDeployĪWS service roles are used to grant permissions to an AWS service so it can access AWS resources. Access your ReactJS app on EC2 public DNSġ. ![]() Create a CodePipeline using Github, CodeBuild and CodeDeploy.Create IAM Role for EC2 and AWS CodeDeploy. ![]() Compute, Storage, Database, Migration, Network and Content Delivery, Management Tools, Security & Identity Compliance, and Messaging are some of the main services provided by AWS. Millions of customers are using AWS to lower costs, become more agile, and innovate faster. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.Īmazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 175 fully featured services from data centers globally. Node.js is a JavaScript runtime built on Chrome’s V8 JavaScript engine. It is an open-source, component-based, front-end library only responsible for the application’s view layer. ![]() ReactJS is a declarative, efficient, and flexible JavaScript library for building user interfaces. Or you can simply create a new ReactJS Application using this YouTube tutorial or Create React App - quick start ) If you would like to follow along, you can either fork the existing Covid19 ReactJS Application repository on GitHub that I created which displays real-time Covid19 data of known, recovered and deaths cases caused by the Coronavirus(COVID-19) disease. We will assume you already have your AWS account, an IAM user setup and a ReactJS application on Github ready to be deployed! This post will focus on setting up your AWS CodePipeline and deploying your ReactJS application to a AWS EC2 instance. However, while I was going through Stephane Maarek’s AWS Solutions Architect course on Udemy, I realized I should spend some time working on a personal project simultaneously for learning/practice purposes. After passing the AWS Certified Cloud Practitioner exam in March 2020, I started studying for the AWS Solutions Architect exam in mid April 2020. I think I took “if you don’t come out of this quarantine with either a new skill and/or more knowledge, you didn’t ever lack the time, you lacked the discipline” pretty seriously. I will only be monitoring this web application for couple of weeks. For learning continuous integration and continuous delivery(CI/CD) via AWS CodePipeline purposes, rather than deploying a “hello world” app, I created this simple ReactJS application that fetches latest stats about COVID-19 from an API. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |