Skip to content

Simple DynDNS service based on aws route53 and aws lambda

License

Notifications You must be signed in to change notification settings

slawak/ddns-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy

Serverless dyn dns with REST API

A simple dy dns server with REST API.

Deploying and running the program

Note: some values in this example will be different from run to run. These values are indicated with ***.

  1. Create a new stack:

    $ pulumi stack init dev
  2. Set configs region:

    $ pulumi config set aws:region eu-central-1
    $ pulumi config set ddns-lambda:domain ddns.example.com
    
  3. Restore NPM modules via npm install or yarn install.

  4. Run pulumi up to preview and deploy changes:

    $ pulumi up
    Previewing update of stack 'dev'
    ...
    
    Updating (dev):
    ...
    
    
  5. To view the runtime logs of the Lambda function, use the pulumi logs command. To get a log stream, use pulumi logs --follow.

Clean up

  1. Run pulumi destroy to tear down all resources.

  2. To delete the stack itself, run pulumi stack rm. Note that this command deletes all deployment history from the Pulumi Console.

About

Simple DynDNS service based on aws route53 and aws lambda

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published