{"id":20826734,"url":"https://github.com/cedrickchee/pulumi-protodev","last_synced_at":"2026-04-14T12:34:16.352Z","repository":{"id":138118517,"uuid":"261227610","full_name":"cedrickchee/pulumi-protodev","owner":"cedrickchee","description":"A AWS TypeScript Pulumi program for prototypes dev","archived":false,"fork":false,"pushed_at":"2020-05-04T16:12:17.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T17:49:37.866Z","etag":null,"topics":["pulumi","pulumi-aws","pulumi-typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/cedrickchee.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":"2020-05-04T15:45:55.000Z","updated_at":"2024-11-01T11:32:30.000Z","dependencies_parsed_at":"2024-03-26T12:15:33.467Z","dependency_job_id":null,"html_url":"https://github.com/cedrickchee/pulumi-protodev","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/cedrickchee%2Fpulumi-protodev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Fpulumi-protodev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Fpulumi-protodev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Fpulumi-protodev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedrickchee","download_url":"https://codeload.github.com/cedrickchee/pulumi-protodev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243174004,"owners_count":20248214,"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":["pulumi","pulumi-aws","pulumi-typescript"],"created_at":"2024-11-17T23:09:53.575Z","updated_at":"2025-12-24T12:56:16.196Z","avatar_url":"https://github.com/cedrickchee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Infrastructure Deployed with Pulumi\n\nThis repository contains a project using Pulumi to build and deploy cloud applications and infrastructure (Infra-as-Code).\n\n## Server using Amazon EC2\n\nThis project deploys a simple AWS EC2 VM running a Python web server.\n\n### Deploying the App\n\nTo deploy your infrastructure, follow the below steps.\n\n### Prerequisites\n\n1. [Install Pulumi](https://www.pulumi.com/docs/get-started/install/)\n2. [Configure AWS Credentials](https://www.pulumi.com/docs/intro/cloud-providers/aws/setup/)\n\n**Install Pulumi**\n\nAfter installing Pulumi, since we're using TypeScript, switch to Node.js 12.x LTS and verify pulumi CLI.\n\n```sh\nnvm use lts/*\npulumi version\n```\n\n**Configure AWS Credentials**\n\n```sh\nvim ~/.aws/config\n\n# Set AWS region for this profile, which is ap-northeast-2\nexport AWS_PROFILE=pel\n```\n\n### Steps\n\nAfter cloning this repo, from this working directory, run these commands:\n\n1. Set the required configuration variables for this program:\n\n```sh\n$ pulumi config set aws:region ap-northeast-2\n```\n\n2. Stand up the VM, which will also boot up your Python web server on port 80:\n\n```sh\n$ pulumi up\n```\n\n3. After a couple minutes, your VM will be ready, and two stack outputs are printed:\n\n```sh\n$ pulumi stack output\nCurrent stack outputs (2):\nOUTPUT          VALUE\npublicIp        NN.NN.NNN.NN\n```\n\n4. Thanks to the security group making port 80 accessible to the 0.0.0.0/0 CIDR block, we can curl it:\n\n```sh\n$ curl $(pulumi stack output publicIp)\nHello, World!\n```\n\n5. From there, feel free to experiment. Simply making edits and running pulumi up will incrementally update your VM.\n\n6. If you need to connect to the VM remotely using SSH, add SSH key into instance.\n\nGo to AWS Console and \"Connect\" to the instance. Pick \"EC2 Instance Connect (browser-based SSH connection)\". Once you're in, do:\n\n```sh\n# Follow guide: https://stackoverflow.com/questions/3260739/add-keypair-to-existing-ec2-instance\n\nubuntu@ip-1-1:~$ sudo adduser pel\nNew password: *****************\n\n$ ssh-keygen -t rsa -b 4096 -C \"pel@protodev\"\n```\n\n7. Afterwards, destroy your stack and remove it:\n\n```sh\n$ pulumi destroy --yes\n$ pulumi stack rm --yes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedrickchee%2Fpulumi-protodev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedrickchee%2Fpulumi-protodev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedrickchee%2Fpulumi-protodev/lists"}