Summary of "Week 5 Lab: Deploying Web Applications in Cloud"

Concise summary — main ideas and lessons

AWS — Deploy a static web app to S3 (method 1)

  1. Prepare
    • Build the web app locally and have code/files ready (HTML/CSS/JS/assets).
  2. Login to AWS.
  3. Create an S3 bucket
    • Make sure “Block all public access” is unchecked so the site can be publicly loaded.
  4. Upload your site files
    • Put index.html and any other HTML/CSS/JS/assets into the bucket.
  5. Enable static website hosting
    • In the bucket’s Properties tab enable “Static website hosting.”
    • Specify the index (landing) file (e.g., index.html).
  6. Update bucket permissions / bucket policy
    • In Permissions → Bucket Policy, add/modify the JSON policy so the bucket exposes public read access for objects.
  7. Retrieve and share the static website URL
    • After policy changes, in Properties → Static website hosting copy the generated URL (e.g., your-bucket.s3-website…).
    • Verify the website loads on other devices.
  8. Clean up
    • Remove or disable the S3 bucket and any other resources to avoid costs from traffic/hits.

Note: S3 static site URLs may be HTTP or appear insecure. Investigate AWS options (CloudFront + ACM or Amplify) to serve the site over HTTPS if you see security warnings.

AWS — Other deployment options (overview)

Azure — Deploy a static web app to Storage Account (method)

  1. Prepare
    • Have web app files ready locally or in GitHub.
  2. Login to Azure.
  3. Create a Storage Account (if needed).
  4. Enable static website hosting
    • In the Storage Account go to Data management → Static website and enable it.
    • Enabling the static website will auto-create a special container named $web.
  5. Upload files
    • Upload all source files into the $web container.
  6. Retrieve and share the URL
    • Get the static website URL from the Static website settings and verify it loads publicly.
  7. Clean up
    • Delete or disable resources after testing.

Azure — Other deployment options (overview)

Lab assignments / expectations

Practical warnings & tips

Speakers / sources

Category ?

Educational


Share this summary


Is the summary off?

If you think the summary is inaccurate, you can reprocess it with the latest model.

Video