Giter VIP home page Giter VIP logo

autows201-start's Introduction

autows201-start

This repository is used as the foundation for the Automation 201 Workshop. It is not functional in the starting state. Attendees will 'fill in the gaps' during the workshop.

Before you use this repository, please follow the pre-requisites:

  • Create an AWS IAM for programmatic access, and save the access key and secret key to use in the next step.

  • Install aws cli and run 'aws configure'. This will create a user credentials file ~/.aws/credentials - Terraform will use these credentials to access your AWS account for automation.

  • If you want to update the filter string, to identify a different AMI for use in this deployment. You can use the aws cli to test your string... just experiment by changing *BIGIP-15.1*PAYG-Best*25Mbps* in the following command, to ensure you get one AMI returned:

    aws ec2 describe-images --region eu-west-2 --filters "Name=name,Values=*BIGIP-15.1*PAYG-Best*25Mbps*" | grep '\"Name\"\|\"ImageId\"\|\"OwnerId\"'

This deployment will build the following components:

  • AWS infrastructure using the VPC module and other aws_ resources
  • An NGINX autoscale group, to provide a simple web app
  • Hashicorp Consul for service discovery
  • A single BIG-IP with 3 NICs
    • BIG-IP is configured via a user-data script injected on first booot, that performs the following tasks:
      • downloads and installs bigip_runtime_init package
      • provides bigip_runtime_init with its yaml configuration file
      • bigip_runtime_init installs DO, AS3 packages (plus other Automation Toolchain components)
      • bigip_runtime_init declares the DO and AS3 json configurations
    • BIG-IP is reported ready when the NGINX application is available via the Virtual Server.

To deploy the BIG-IP infrastructure, you can:

  • cd ./terraform
  • terraform init
  • terraform plan
  • terraform apply

optionally, you can deploy the FAST (F5 AS3 Templates) declaration (after the BIG-IP infrastructure deployment is complete):

  • cd ../fast
  • terraform init
  • terraform plan
  • terraform apply

To destroy:

  • cd ../fast
  • terraform destroy
  • cd ../terraform
  • terraform destroy

autows201-start's People

Contributors

s-archer 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.