Skip to content

Instantly share code, notes, and snippets.

@EscVector
Last active November 27, 2021 13:33
Show Gist options
  • Save EscVector/ad8afc86c390bf2b9fc92f3c8d4938d3 to your computer and use it in GitHub Desktop.
Save EscVector/ad8afc86c390bf2b9fc92f3c8d4938d3 to your computer and use it in GitHub Desktop.
# AMI ID ami-0affd4508a5d2481b
sudo yum install vsftpd
sudo systemctl start vsftpd
sudo systemctl enable vsftpd
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
#Local Command Line
aws ec2 associate-iam-instance-profile --instance-id YourInstanceId --iam-instance-profile Name=s3access-profile
aws ec2 describe-iam-instance-profile-associations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment