-
Create a zip file of your WordPress files on your local machine:
-
Use the following
scpcommand to copy the zip file to the private EC2 instance via the bastion host:scp -o ProxyJump=ec2-user@<bastion instance url> wordpress.zip ec2-user@<private instance ip>:/var/www/html