Lädt...

🔧 CI/CD Pipeline for Amazon EC2


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

Architecture Diagram
Architecture Diagram

Step 1 - Create an Amazon Linux ec2 instance.

Image description

Step 2 - Create an EC2 instance role and attach it to the EC2 instance.

Image description
Image description

Step 3 - Create a GitHub connection for the Amazon CodePipeline.
Image description

Step 4 - Copy files to your GitHub account. You can get it from my repo. Also, you can easily fork the repository.

Repository Link

Step 5 - Connect to the EC2 instance and configure it as a web server by installing httpd.

sudo su -
yum install httpd -y
service httpd start
chkconfig httpd on
cd /var/www/html/ # Check location

Step 6 - Create CodePipeline

Image description

Image description

Amazon CodePipeline service role with full SSM access.

Image description

Image description

Skip Build and Test Stages

Image description

Image description

Step 7 - Click Next to review, then click the Create Pipeline button.

Image description

Step 8 - Add a new version of your website. Commit to github. AWS CodePipeline automatically triggered the pipeline.

Image description

Image description

Copy the EC2 instance public IP and paste it into a web browser. You can see your website's latest version is visible.

Image description

Clean Up

  • Delete CodePipeline.
  • Terminate EC2 Instance.
  • Remove IAM Roles.

Thanks for reading the Article.

Connect with me
LinkedIn https://www.linkedin.com/in/lasanthasilva
Twitter https://twitter.com/LasanthaSilva96

...

🔧 CodePipeline EC2 Action: Simplify your EC2 application deployment pipeline by 90%!


📈 32.01 Punkte
🔧 Programmierung

🔧 Introduction to Amazon EC2 and Creating an EC2 Instance in AWS


📈 24.83 Punkte
🔧 Programmierung

🔧 AutoConnectivity Check of EC2 to RDS Using Amazon EC2 Feature


📈 24.83 Punkte
🔧 Programmierung

🔧 CI/CD Pipeline for Amazon EC2


📈 23.29 Punkte
🔧 Programmierung

🔧 Launch and Configure an EC2 Instance( Step-by-Step EC2 Setup + SSH Connection (Windows)


📈 22.37 Punkte
🔧 Programmierung

🔧 Securely Connecting to EC2 Instances with EC2 Instance Connect


📈 22.37 Punkte
🔧 Programmierung

🔧 Securely Connecting to EC2 Instances with EC2 Instance Connect


📈 22.37 Punkte
🔧 Programmierung

🔧 Securely Connecting to Private EC2 Instances with EC2 Instance Connect Endpoint


📈 22.37 Punkte
🔧 Programmierung

🔧 Securely Connecting to Private EC2 Instances with EC2 Instance Connect Endpoint


📈 22.37 Punkte
🔧 Programmierung

🔧 What is EC2 in AWS? Everything about EC2 Fundamentals in AWS


📈 22.37 Punkte
🔧 Programmierung

🔧 EC2 Snapshot Management: How to get AWS EC2 Snapshot Information with Python


📈 22.37 Punkte
🔧 Programmierung

🔧 SSH to your AWS EC2 instances using EC2-connect eice using this alias


📈 22.37 Punkte
🔧 Programmierung

🔧 How to Select the Right EC2 Instance – A Guide to EC2 Instances and Their Capabilities


📈 22.37 Punkte
🔧 Programmierung

🔧 GitLab CI/CD Pipeline for Django/Node Application Deployment on AWS EC2


📈 20.82 Punkte
🔧 Programmierung

🔧 Creating a CICD Pipeline using Jenkins on AWS EC2, Monitoring using Prometheus, and Grafana


📈 20.82 Punkte
🔧 Programmierung

🔧 How to Deploy NextJs Project to AWS EC2 With GitHub CI/CD Pipeline


📈 20.82 Punkte
🔧 Programmierung

🔧 Turn Your Existing DevOps Pipeline Into an MLOps Pipeline


📈 19.28 Punkte
🔧 Programmierung

🔧 Turn Your Existing DevOps Pipeline Into an MLOps Pipeline With ModelKits


📈 19.28 Punkte
🔧 Programmierung

🔧 Turn Your Existing DevOps Pipeline Into an MLOps Pipeline With ModelKits


📈 19.28 Punkte
🔧 Programmierung

🔧 Data Pipeline vs. ETL Pipeline


📈 19.28 Punkte
🔧 Programmierung

🔧 AWS Code Pipeline - CloudFront - S3 CI/CD Pipeline


📈 19.28 Punkte
🔧 Programmierung

📰 Colonial Pipeline Initiates Restart of Pipeline Operations After Ransomware Attack


📈 19.28 Punkte
📰 IT Security Nachrichten

📰 Colonial Pipeline cyberattack shuts down pipeline that supplies 45% of East Coast's fuel


📈 19.28 Punkte
📰 IT Security Nachrichten

🔧 Deep Dive on Amazon ElastiCache Service as Redis Cluster with Amazon EC2 Instance


📈 16.11 Punkte
🔧 Programmierung

🔧 Amazon EC2 or Amazon RDS, when to choose?


📈 16.11 Punkte
🔧 Programmierung

🔧 Deep Dive on Amazon Elastic MapReduce Service Platform with Amazon EC2 Instance


📈 16.11 Punkte
🔧 Programmierung

🔧 Learning AWS Day by Day — Day 65 — Amazon LightSail V/S Amazon EC2


📈 16.11 Punkte
🔧 Programmierung

🔧 Hosting an Angular application in a Docker container on Amazon EC2 deployed by Amazon ECS


📈 16.11 Punkte
🔧 Programmierung

📰 Accelerate Amazon SageMaker inference with C6i Intel-based Amazon EC2 instances


📈 16.11 Punkte
🔧 AI Nachrichten

📰 Zusätzliche Sicherheitsfunktionen für Amazon EC2, IAM und Amazon S3


📈 16.11 Punkte
📰 IT Security Nachrichten

matomo