Copy Amazon S3 bucket to another
To quickly coping use ec2 instance for all below operations, it will decrease latency.
SSH to your server and install Certbot:
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-nginx
sudo apt-get install certbot python3-certbot-dns-route53
To obtain a wildcard certificate for Route53 DNS need to create AWS:IAM user with AmazonRoute53FullAccess
permissions and save AWS keys to ~/.aws/config
Example an aws config file:
[default]
aws_access_key_id=******
aws_secret_access_key=******
Run the following command to install certificate for your domain:
sudo certbot -a dns-route53 -i nginx -d "*.example.com" -d example.com --server https://acme-v02.api.letsencrypt.org/directory
To quickly coping use ec2 instance for all below operations, it will decrease latency.
List of gems