View Code? Open in Web Editor
NEW
Home Page: https://openupthecloud.github.io/system/getting-started/linux-cli.html
s3-website-cloud-resume's Introduction
Exercise (Step 4 Cloud Resume Challenge)
- Created a shell script (updated permissions + "shebang")
- Created an S3 bucket in S3
- Updated the S3 bucket to a static site
- Updated the S3 bucket policy
- Uploaded a local directory (including "index.html" to S3)
- Update our script to use a variable, rather than repeating the name
- Find a way to update
policy.json
to remove the hardcoded reference to the bucketname
- Add an
error.html
- Break down the scripts into two (one for creating the bucket, one for syncing the files)
touch cloud-resume-challenge.sh
=> Create a file
ls
=> Check if the file exists
chmod u+x cloud-resume-challenge.sh
=> Adds executable permissions
#!/bin/sh
=> Add the "shebang" to the top of a shell script
echo "hello world"
=> Add scripts to the file !
s3-website-cloud-resume's People
Contributors
Stargazers
Watchers