-
Notifications
You must be signed in to change notification settings - Fork 8
Jenkins AWS Pipeline
Matthew Thomas edited this page Nov 23, 2020
·
4 revisions
- Create an account with AWS so that you can access the AWS console.
- Create an EC2 Instance. Set up a t2 medium instance with additional Elastic Block Storage (2GB).
- SSH into EC2, and install git, Jenkins, maven, and java 8 using the package manager. Start Jenkins.
- Go to your instance IP:8080 and start the Jenkins Configuration.
- In Jenkins go to Manage Jenkins > Manage Plugins, download the Deploy to Container plugin, the Docker Plugin, the Maven Integration plugin, Workspace Cleanup Plugin, and the Pipeline: AWS Steps plugin.
- Add Github Webhooks.
- Create projects in Jenkins for Backend and Front End using Pipelines.
- Make the Pipeline Github Projects and add the URL.
- Add "clean before checkout".
- Use Jenkins File Scripts for each project (check root directory).
- Contact Revature management to get access to S3 IAM.
- Put keys into Jenkins.
- Create a S3 public Bucket set up to host a static website.
- Deploy the Front end to S3 and the Back-end to EC2.