Code Monkey home page Code Monkey logo

s3-website-cloud-resume's Introduction

Exercise (Step 4 Cloud Resume Challenge)

Linux basics

  1. Created a shell script (updated permissions + "shebang")
  2. Created an S3 bucket in S3
  3. Updated the S3 bucket to a static site
  4. Updated the S3 bucket policy
  5. Uploaded a local directory (including "index.html" to S3)
  6. Update our script to use a variable, rather than repeating the name

Homework

  1. Find a way to update policy.json to remove the hardcoded reference to the bucketname
  2. Add an error.html
  3. Break down the scripts into two (one for creating the bucket, one for syncing the files)

Creating a shell script

  1. touch cloud-resume-challenge.sh => Create a file
    • ls => Check if the file exists
  2. chmod u+x cloud-resume-challenge.sh => Adds executable permissions
  3. #!/bin/sh => Add the "shebang" to the top of a shell script
  4. echo "hello world" => Add scripts to the file !

Useful Links:

s3-website-cloud-resume's People

Contributors

loujaybee avatar

Stargazers

AWS Cloudgirl avatar Adit Modi avatar

Watchers

AWS Cloudgirl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.