Skip to content

Instantly share code, notes, and snippets.

View keshan-spec's full-sized avatar
🏠
Working from home

Keshanth Jude keshan-spec

🏠
Working from home
View GitHub Profile

README: Setting Up a WordPress Site on a Private EC2 Instance


1. Copy WordPress Files to the Instance

  1. Create a zip file of your WordPress files on your local machine:

  2. Use the following scp command 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
@wonderbeyond
wonderbeyond / vsc-settings.py
Created February 25, 2019 09:11
script to export vsc settings
#!/usr/bin/env python3
from os import path
import tempfile
import subprocess
import datetime as dt
import click
@click.group()
def cli():