Git Product home page Git Product logo

aws_lb_dns's Introduction

AWS Load Balancer DNS

This project is used to manage DNS records for AWS Load Balancers.

Overview

The application periodically checks the state of AWS Load Balancers and updates the DNS records in Route53 accordingly. It uses the AWS SDK for Go to interact with AWS services.

It does the following:

  1. Authenticates with AWS and creates a service client.
  2. Retrieves a list of all load balancers.
  3. Retrieves the ID of the Route53 hosted zone specified by the command line options.
  4. Retrieves a list of all resource record sets in the hosted zone.
  5. Adds DNS records for the load balancers that don't already have records.
  6. Cleans up DNS records for load balancers that no longer exist.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Go 1.16 or later
  • AWS account with access to manage Load Balancers and Route53

Installing

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Run go build to compile the project.

Usage

You can run the program with command line arguments to specify the AWS region, Route53 hosted zone, check interval, and the tag to use for the DNS record.

Here's an example:

./aws_lb_dns -region us-west-2 -zone example.com -interval 5m -tag Name

aws_lb_dns's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.