Deploy over SSH from Gitlab CI pipeline

Not using Docker yet for deployments and still rely on SSH for this job? No worries, Gitlab CI has got you covered. I will show you a quick and easy way to make an SSH connection, transfer files, and run commands.

Valentin Despa
DevOps with Valentine
3 min readMar 18, 2020

--

Step 1: Check your SSH connection

I will demonstrate this by using an AWS EC2 instance running an image created by Bitnami running LAMP.

--

--

Valentin Despa
DevOps with Valentine

Software developer, educator & overlander • GitLab Hero • AWS Community Builder • Postman Supernova • Imprint: http://vdespa.com/imprint