{"id":21884062,"url":"https://github.com/mongoexpuser/unered-stack-on-aws-lightsail-with-aws-sdk-js","last_synced_at":"2026-04-11T05:32:18.685Z","repository":{"id":134452984,"uuid":"580939382","full_name":"MongoExpUser/UNERED-Stack-On-AWS-Lightsail-with-AWS-SDK-JS","owner":"MongoExpUser","description":"Deploys Ubuntu, NodeJS, ExpressJS and Redis-Stack (UNERED) Stack on AWS Lightsail with AWS SDK for JavaScript/NodeJS V2.","archived":false,"fork":false,"pushed_at":"2023-04-07T00:47:45.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-26T19:37:29.411Z","etag":null,"topics":["aws","aws-sdk","bash","javascript","lightsail","nodejs","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MongoExpUser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-12-21T21:00:05.000Z","updated_at":"2023-01-01T01:26:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"64acec45-0f78-45c5-b743-61bf2f17b2fe","html_url":"https://github.com/MongoExpUser/UNERED-Stack-On-AWS-Lightsail-with-AWS-SDK-JS","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/MongoExpUser%2FUNERED-Stack-On-AWS-Lightsail-with-AWS-SDK-JS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MongoExpUser%2FUNERED-Stack-On-AWS-Lightsail-with-AWS-SDK-JS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MongoExpUser%2FUNERED-Stack-On-AWS-Lightsail-with-AWS-SDK-JS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MongoExpUser%2FUNERED-Stack-On-AWS-Lightsail-with-AWS-SDK-JS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MongoExpUser","download_url":"https://codeload.github.com/MongoExpUser/UNERED-Stack-On-AWS-Lightsail-with-AWS-SDK-JS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244892390,"owners_count":20527442,"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-sdk","bash","javascript","lightsail","nodejs","ubuntu"],"created_at":"2024-11-28T10:12:08.055Z","updated_at":"2025-12-30T20:49:17.728Z","avatar_url":"https://github.com/MongoExpUser.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UNERED-Stack-On-AWS-Lightsail-with-AWS-SDK-JS\n\n\u003cbr\u003e\n\u003cstrong\u003e\nDeploys Ubuntu, NodeJS, ExpressJS and Redis-Stack (UNEREDS) Stack on AWS Lightsail with AWS SDK for JavaScript/NodeJS V2.\n\u003c/strong\u003e\n\u003cbr\u003e\u003cbr\u003e\nThe  script deploys/creates or deletes the following specific resources and software:\n\n1) AWS Lightsail instance(s) with Ubuntu 20.04 LTS OS\n                                                                                                                                                 \n2) Bash launch or start-up script (user data) for the installation of software, on the instance(s), including:\n\n   -  Additional Ubuntu OS Packages \u003cbr\u003e\n   -  NodeJS \u003cbr\u003e\n   -  ExpressJS Web Server Framework \u003cbr\u003e\n   -  Other Node.js Packages and \u003cbr\u003e\n   -  Redis-Stack\n\n\n## DEPLOYING STACK with the NodeJS script\n\n### To deploy the stack  on ```AWS```, follow these steps:\n\n1) #### Install NodeJS and aws-sdk (v2) module, assuming Ubuntu OS\n    curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash - \u003cbr\u003e\n    sudo apt-get install -y nodejs \u003cbr\u003e\n    sudo npm install aws-sdk\n    \n2) #### Download or clone the following files, from this repo, into the current working directory (CWD): \u003cbr\u003e\n   NodeJS script - index.js \u003cbr\u003e\n   User data bash script (launch script)  - user-data.sh \u003cbr\u003e\n   JSON files  - credentials.json and inputConfig.json \u003cbr\u003e\n\n3) #### Fill in relevant values in the credentials.json and inputConfig.json files.\u003cbr\u003e\n\n4) #### Then run the code, assuming sudo access: \u003cbr\u003e\n   sudo node index.js\n\n\n# License\n\nCopyright © 2015 - present. MongoExpUser\n\nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongoexpuser%2Funered-stack-on-aws-lightsail-with-aws-sdk-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongoexpuser%2Funered-stack-on-aws-lightsail-with-aws-sdk-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongoexpuser%2Funered-stack-on-aws-lightsail-with-aws-sdk-js/lists"}