Code Monkey home page Code Monkey logo

hyperscaler-ee's Introduction

hyperscaler-ee

Execution environment configuration and sample playbooks for hyperscaler provisioning

Given a host running Ansible Automation Platform (AAP) Controller / Automation Hub, the default execution environment "ee-supported-rhelX:latest" includes provisioning and control modules for Amazon Web Services (AWS) resources. This execution environment, however, does not include support for Google Cloud Platform (GCP) or Microsoft Azure installed by default.

Minimal execution environments, ee-minimal-rhelX:latest, do not include support for any hyperscalers.

This configuration assumes that you have access to registry.redhat.io and have subsequently logged in prior to building your execution environment. The new execution environment is based off of the "ee-minimal-rhel9" execution environment.

To use this repo:

  1. git clone https://github.com/redhatstuart/hyperscaler-ee
  2. podman login registry.redhat.io
  3. Customize execution-environment.yml (if necessary)
  4. ansible-builder build -v3 -t hyperscaler-ee

After the new execution environment has been built, you can push this image to your Automation Hub and subsequently have your AAP controller ingest it.

  1. podman tag localhost/hyperscaler-ee fqdn.of.your.automation.hub.com/hyperscaler-ee
  2. podman push fqdn.of.your.automation.hub.com/hyperscaler-ee

The following text files will show you the Ansible modules that are present in each of the execution-enviroments we have discussed:

AAP Configuration

The following variables will be needed for each of your templates (sample values have been provided):

Amazon EC2

  • ami: "ami-0ef50c2b2eb330511"
  • cidr: "10.10.0.0/24"
  • cidr_block: "10.10.0.0/16"
  • instance_type: "t3.small"
  • prefix: "mytestdemo"
  • region: "us-east-2"

Azure

  • admin_username: "azureuser"
  • admin_password: "Ins3cur3passw0rd!"
  • azure_region: "eastus"
  • prefix: "mytestdemo"
  • vmSize: "Standard_D4s_v3"

GCP

  • disk_size: "20"
  • machine_type: "f1-micro"
  • prefix: "mytestdemo"
  • region: "northamerica-northeast2"
  • source_image: "projects/rhel-cloud/global/images/rhel-9-v20240611"
  • subnet_cidr: "10.10.0.0/24"
  • zone: "northamerica-northeast2-a"

hyperscaler-ee's People

Contributors

redhatstuart avatar

Stargazers

 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.