Deploy to EC2 server from Jenkins Pipeline

Steps to deploy to EC2 instance

Install SSH Agent plugin and create ssh credentials type

install without restart

See Jenkinsfile syntax for a plugin

Connect to EC2 and run Docker command

this is a jenkins file

Configure Firewall on EC2

RUn Jenkins Pipeline and access Webapp

Notes

Last updated