Git Product home page Git Product logo

atlas-examples's Introduction

Atlas Examples

This repository contains application and infrastructure examples for Atlas by HashiCorp.

Examples

Example Description Tools Used
HAProxy-Nodejs Deploy a HAProxy and Node.js application on AWS. Atlas, Consul, Packer, and Terraform
consul-cluster Deploy and bootstrap a consul-cluster in various configurations. Atlas, Consul, Packer, and Terraform
google-hyperspace Deploy a real-time multiplayer space shooter game to Google Compute Engine. Atlas, Packer, and Terraform
infrastructures Deploy full application architectures including database, cache, and messaging servers. Atlas, Consul, Packer, Terraform, and Vault
nomad-cluster Deploy and bootstrap a Nomad cluster on AWS. Atlas, Nomad, and Terraform
spark Deploy a Spark cluster to AWS. Atlas, Consul, consul-template, and Terraform

Setup

Examples should use common inputs and structures as much as possible. The most commonly used environment variables for the examples are listed and explained below.

Environment Variables

# For Atlas
ATLAS_TOKEN
ATLAS_USERNAME

# For AWS
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION

See the Environment variable article on Wikipedia for an explanation of how to set and use environment variables.

Atlas Variables

To generate an Atlas Token, visit your account page in Atlas.

Atlas Username can be either your personal username in Atlas (e.g., clstokes) or the name of the organization you belong to within Atlas (e.g., hashicorp).

Amazon Web Services Credentials

Visit the IAM Management Console and follow th instructions at Managing Access Keys for IAM Users.

Google Cloud Platform Credentials

Visit the Google Developers Console and follow the instructions at Service accounts.

Writing Examples

Pretty simple - create a folder named after the example. Add a README if setup is required, and add supporting files.

Please try to adhere to the above environment variables to keep projects consistent and easy to adopt.

Issues

To report issues (such as typographical errors or confusion) in these examples, please open a GitHub issue. For Atlas-specific support, please email [email protected].

Documentation

Additional documentation on Atlas, Vagrant, Packer, Terraform, and Consul can be read here.

atlas-examples's People

Contributors

bensojona avatar bitgeeky avatar catsby avatar clstokes avatar dadgar avatar derek-adair avatar enxebre avatar erjohnso avatar grubernaut avatar kfishner avatar mootpt avatar pearkes avatar pop avatar seajoshc avatar sethvargo avatar zanedeg avatar

Watchers

 avatar  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.