{"id":13343333,"url":"https://github.com/gkzz/url_shortener_sample","last_synced_at":"2025-03-12T04:33:20.298Z","repository":{"id":109467163,"uuid":"208452911","full_name":"gkzz/url_shortener_sample","owner":"gkzz","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-15T13:52:30.000Z","size":2971,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T17:56:33.342Z","etag":null,"topics":["aws","aws-cloudformation","aws-lambda","aws-s3","yaml"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gkzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-14T14:36:20.000Z","updated_at":"2020-11-18T14:36:02.000Z","dependencies_parsed_at":"2023-05-17T23:15:25.332Z","dependency_job_id":null,"html_url":"https://github.com/gkzz/url_shortener_sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkzz%2Furl_shortener_sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkzz%2Furl_shortener_sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkzz%2Furl_shortener_sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkzz%2Furl_shortener_sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gkzz","download_url":"https://codeload.github.com/gkzz/url_shortener_sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158974,"owners_count":20245668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-cloudformation","aws-lambda","aws-s3","yaml"],"created_at":"2024-07-29T19:31:08.430Z","updated_at":"2025-03-12T04:33:20.290Z","avatar_url":"https://github.com/gkzz.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# url_shortener_sample\n\nThis repository contains all the code examples from the contents as bellow:\n[Build a Serverless, Private URL Shortener](https://aws.amazon.com/blogs/compute/build-a-serverless-private-url-shortener/)\n\n\n# Demo\n\n\u003cimg src=\"/src/demo.gif\" alt=\"demo\" style=\"max-width:100%;\"\u003e\n\n\n# Table of Contents\n- Technologies Used\n- How to setup\n- Notes\n- Sources\n\n\n# Technologies Used\n## The followings are used by AWS CloudFormation\n- AWS Lambda\n- S3 bucket\n- API Gateway\n- CloudFront\n\n\n# How to setup\n- git clone https://github.com/gkzz/url_shortener_sample.git\n- Login AWS console, and select CloudFormation\n- Press \"Create stack\" button \n\n\u003cimg src=\"/src/url_shortener1.png\" alt=\"how_to_setup1\" style=\"max-width:100%;\"\u003e\n\n- Change AWS region to that of the appropriate \n\n- Upload [/url_shortener_sample/rl_shortener.yml](/url_shortener_sample/rl_shortener.yml)\n\n\u003cimg src=\"/src/url_shortener2.png\" alt=\"how_to_setup2\" style=\"max-width:100%;\"\u003e\n\n- Enter the following parameters:\n    - Stack name: \"URLShortener\"\n    - S3BucketName: ${YOUR_UNIQUE_NAME}\n    - URLExpiration: 7\n\n\u003cimg src=\"/src/url_shortener3.png\" alt=\"how_to_setup4\" style=\"max-width:100%;\"\u003e\n\n- Press the check button of \"I acknowledge that AWS CloudFormation might create IAM resources\"\n\n\u003cimg src=\"/src/url_shortener5.png\" alt=\"how_to_setup5\" style=\"max-width:100%;\"\u003e\n\n- Status is \"CREATE_COMPLETE\" on Events page\n(It takes 20 to 30 mins to complete it)\n\n\u003cimg src=\"/src/url_shortener_completed.png\" alt=\"completed\" style=\"max-width:100%;\"\u003e\n\n- Congratulations on the launch of your URL Shortener!\n(ConnectURL is that of your service)\n\u003cimg src=\"/src/url_shortener_completed2.png\" alt=\"connecturl\" style=\"max-width:100%;\"\u003e\n\n\n### Optional\n- Enter a monitoring time parameter (e.g. 7)\n\u003cimg src=\"/src/url_shortener4.png\" alt=\"how_to_setup4\" style=\"max-width:100%;\"\u003e\n\n\n## How to check if your S3BucketName is unique, or not\n- Select S3 bucket\n- Enter your S3BucketName\n\n\u003cimg src=\"/src/url_shortener_s3.png\" alt=\"s3\" style=\"max-width:100%;\"\u003e\n\n- If it is not unique, this following error message is displayed:\n  \"Bucket name must not end with dash or period\"\n\n\u003cimg src=\"/src/url_shortener_s3_name.png\" alt=\"check_s3_name\" style=\"max-width:100%;\"\u003e\n\n\n# Notes\nbeing prepared.\n\n\n# Sources\n[Build a Serverless, Private URL Shortener](https://aws.amazon.com/blogs/compute/build-a-serverless-private-url-shortener/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkzz%2Furl_shortener_sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgkzz%2Furl_shortener_sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkzz%2Furl_shortener_sample/lists"}