{"id":25207997,"url":"https://github.com/ankkho/aws-node-elasticache-vpc","last_synced_at":"2025-10-25T08:30:57.515Z","repository":{"id":22721865,"uuid":"89996569","full_name":"ankkho/aws-node-elasticache-vpc","owner":"ankkho","description":"Serverless function using elasticache (redis) within VPC","archived":false,"fork":false,"pushed_at":"2022-12-22T10:41:27.000Z","size":1858,"stargazers_count":23,"open_issues_count":18,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-03T13:45:31.247Z","etag":null,"topics":["aws-lambda","elasticache","lambda","nat-instance","redis","serverless","serverless-functions","vpc"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ankkho.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}},"created_at":"2017-05-02T05:55:39.000Z","updated_at":"2023-08-03T13:45:31.247Z","dependencies_parsed_at":"2023-01-12T06:45:32.308Z","dependency_job_id":null,"html_url":"https://github.com/ankkho/aws-node-elasticache-vpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankkho%2Faws-node-elasticache-vpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankkho%2Faws-node-elasticache-vpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankkho%2Faws-node-elasticache-vpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankkho%2Faws-node-elasticache-vpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankkho","download_url":"https://codeload.github.com/ankkho/aws-node-elasticache-vpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238109533,"owners_count":19417881,"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-lambda","elasticache","lambda","nat-instance","redis","serverless","serverless-functions","vpc"],"created_at":"2025-02-10T12:18:00.279Z","updated_at":"2025-10-25T08:30:52.196Z","avatar_url":"https://github.com/ankkho.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)\n\n# aws-node-elasticache-vpc\n\u003e A set of serverless functions using elasticache (redis) within VPC\n\n---\n\n### Getting Started\n\nIn order to install and run this example you need an AWS accounts credentials configured with your system. To get started with AWS account configuration, please follow this [link](https://serverless.com/framework/docs/providers/aws/guide/credentials/)\n\n1. Clone aws-node-elasticache-vpc and install npm packages\n```\ngit clone git@github.com:ankkho/aws-node-elasticache-vpc.git\ncd aws-node-elasticache-vpc\nnpm install\nexport REGION='your-desired-aws-region' eg: 'ap-south-1'\n```\n\n*NOTE*\n\u003e Before you run `sls deploy`. Comment line number 17 and from 28-34. Else you'll get an error, since serverless try to fetch (elasticache and vpc) resources which are not currently present.\n\n\u003e Once deployment is done uncomment those lines and run `sls deploy` once again.\n\n*Deploy using sls deploy*\n```\nsls deploy\n```\n\n### Warning\n\u003e NAT Gateway is included in CF template, but it's not included in AWS Free Tier. You will be charged for using NAT Gateway.\n\nInstead of using NAT Gateway you can use NAT Instance. A NAT Instance allows you to use ec2 instance with NAT image provided by AWS. [Check out docs](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html#basics).\n\n\n### Folder Structure\n\n\u003e functions -- contains all business logic required for a function\n\n\u003e handler.js -- lambda handler\n\n\u003e lib -- acts as middleware. You can perform following types of operations:\n  schema validation, check users role (if any) etc..\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankkho%2Faws-node-elasticache-vpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankkho%2Faws-node-elasticache-vpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankkho%2Faws-node-elasticache-vpc/lists"}