{"id":21884031,"url":"https://github.com/mongoexpuser/unepo-stack-on-aws-ec2-with-aws-sdk-js","last_synced_at":"2026-04-02T00:37:07.720Z","repository":{"id":44760264,"uuid":"504922941","full_name":"MongoExpUser/UNEPO-Stack-On-AWS-EC2-with-AWS-SDK-JS","owner":"MongoExpUser","description":"Deploys Ubuntu, NodeJS, ExpressJS and PostgreSQL (UNEPO) Stack on AWS EC2 with AWS SDK for JavaScript/NodeJS V2.","archived":false,"fork":false,"pushed_at":"2023-07-29T19:57:57.000Z","size":103,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-28T01:30:13.365Z","etag":null,"topics":["aws","aws-sdk","bash","ec2","javascript","nodejs","postgresql","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-06-18T18:36:42.000Z","updated_at":"2023-03-06T02:53:38.000Z","dependencies_parsed_at":"2024-11-28T10:22:03.188Z","dependency_job_id":null,"html_url":"https://github.com/MongoExpUser/UNEPO-Stack-On-AWS-EC2-with-AWS-SDK-JS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MongoExpUser/UNEPO-Stack-On-AWS-EC2-with-AWS-SDK-JS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MongoExpUser%2FUNEPO-Stack-On-AWS-EC2-with-AWS-SDK-JS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MongoExpUser%2FUNEPO-Stack-On-AWS-EC2-with-AWS-SDK-JS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MongoExpUser%2FUNEPO-Stack-On-AWS-EC2-with-AWS-SDK-JS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MongoExpUser%2FUNEPO-Stack-On-AWS-EC2-with-AWS-SDK-JS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MongoExpUser","download_url":"https://codeload.github.com/MongoExpUser/UNEPO-Stack-On-AWS-EC2-with-AWS-SDK-JS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MongoExpUser%2FUNEPO-Stack-On-AWS-EC2-with-AWS-SDK-JS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","ec2","javascript","nodejs","postgresql","ubuntu"],"created_at":"2024-11-28T10:11:56.705Z","updated_at":"2026-04-02T00:37:07.696Z","avatar_url":"https://github.com/MongoExpUser.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UNEPO-Stack-On-AWS-EC2-with-AWS-SDK-JS\n\n\u003cbr\u003e\n\u003cstrong\u003e\nDeploys Ubuntu, NodeJS, ExpressJS and PostgreSQL (UNEPO) Stack on AWS EC2 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 EC2 instance(s) with Ubuntu 22.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   -  PostgreSQL\n\n\n## DEPLOYING STACK with the NodeJS script\n\n### To deploy the stack  on ```AWS```, follow these steps:\n\n1) #### Install NodeJS, aws-sdk (v2) module, and uuid 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 \u003cbr\u003e\n    sudo npm install uuid\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%2Funepo-stack-on-aws-ec2-with-aws-sdk-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongoexpuser%2Funepo-stack-on-aws-ec2-with-aws-sdk-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongoexpuser%2Funepo-stack-on-aws-ec2-with-aws-sdk-js/lists"}