Skip to content

Latest commit

 

History

History
83 lines (51 loc) · 2.32 KB

File metadata and controls

83 lines (51 loc) · 2.32 KB

url_shortener_sample

This repository contains all the code examples from the contents as bellow: Build a Serverless, Private URL Shortener

Demo

demo

Table of Contents

  • Technologies Used
  • How to setup
  • Notes
  • Sources

Technologies Used

The followings are used by AWS CloudFormation

  • AWS Lambda
  • S3 bucket
  • API Gateway
  • CloudFront

How to setup

how_to_setup1

how_to_setup2

  • Enter the following parameters:
    • Stack name: "URLShortener"
    • S3BucketName: ${YOUR_UNIQUE_NAME}
    • URLExpiration: 7

how_to_setup4

  • Press the check button of "I acknowledge that AWS CloudFormation might create IAM resources"

how_to_setup5

  • Status is "CREATE_COMPLETE" on Events page (It takes 20 to 30 mins to complete it)

completed

  • Congratulations on the launch of your URL Shortener! (ConnectURL is that of your service)

connecturl

Optional

  • Enter a monitoring time parameter (e.g. 7)

how_to_setup4

How to check if your S3BucketName is unique, or not

  • Select S3 bucket
  • Enter your S3BucketName

s3

  • If it is not unique, this following error message is displayed: "Bucket name must not end with dash or period"

check_s3_name

Notes

being prepared.

Sources

Build a Serverless, Private URL Shortener