Deploy to EC2 server from Jenkins Pipeline

Steps to deploy to EC2 instance



Install SSH Agent plugin and create ssh credentials type





See Jenkinsfile syntax for a plugin

Connect to EC2 and run Docker command


Configure Firewall on EC2


RUn Jenkins Pipeline and access Webapp


Notes



Last updated