{"id":13431522,"url":"https://github.com/ikim23/aws-lambda-static-ip","last_synced_at":"2025-03-16T11:31:55.506Z","repository":{"id":52993311,"uuid":"95876882","full_name":"ikim23/aws-lambda-static-ip","owner":"ikim23","description":"AWS Lambda static outgoing IP address","archived":false,"fork":false,"pushed_at":"2021-01-06T13:40:10.000Z","size":4,"stargazers_count":53,"open_issues_count":1,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-28T11:57:03.659Z","etag":null,"topics":["aws","aws-lambda","serverless","static-routing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/ikim23.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}},"created_at":"2017-06-30T10:19:16.000Z","updated_at":"2024-06-01T16:13:25.000Z","dependencies_parsed_at":"2022-09-08T03:21:31.767Z","dependency_job_id":null,"html_url":"https://github.com/ikim23/aws-lambda-static-ip","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/ikim23%2Faws-lambda-static-ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikim23%2Faws-lambda-static-ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikim23%2Faws-lambda-static-ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikim23%2Faws-lambda-static-ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikim23","download_url":"https://codeload.github.com/ikim23/aws-lambda-static-ip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243863238,"owners_count":20360286,"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-lambda","serverless","static-routing"],"created_at":"2024-07-31T02:01:03.795Z","updated_at":"2025-03-16T11:31:53.357Z","avatar_url":"https://github.com/ikim23.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# AWS Lambda - Static outgoing IP address\n\nThis repository is created according to article [AWS Lambdas with a static outgoing IP](http://techblog.financialengines.com/2016/09/26/aws-lambdas-with-a-static-outgoing-ip/) by Ivonne Roberts. By using this repository you do not have to create all AWS resources by hand, but you can let AWS CloudFormation to do it for you. To see CloudFormation config open `serverless.yml` file. Steps mentioned in the article are marked in this file, so that it is easier to follow.\n\n## Requirements:\n\n- curl\n- docker\n- docker-compose\n\n## Usage:\n\nClone repository:\n```\ngit clone https://github.com/ikim23/aws-lambda-static-ip.git\n```\nCreate `.env` file:\n```\nmv .env.template .env\n```\nSet environment variable values in `.env` file:\n\n|Variable|Description|\n|-|-|\n|AWS_ACCESS_KEY_ID|Access key ID for serverless framework|\n|AWS_SECRET_ACCESS_KEY|Access key for serverless framework|\n|STAGE|name of deployment stage (e.g dev)|\n|REGION|deployment region (e.g us-west-1)|\n\nInstall NPM modules:\n```\ndocker-compose run install\n```\nDeploy app to AWS:\n```\ndocker-compose run deploy\n```\nTrigger caller function to get Elastic IP address (static IP):\n```\ncurl -XGET https://\u003cAPI_IP\u003e.execute-api.\u003cREGION\u003e.amazonaws.com/\u003cSTAGE/call\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikim23%2Faws-lambda-static-ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikim23%2Faws-lambda-static-ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikim23%2Faws-lambda-static-ip/lists"}