This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Best Practices: https://www.terraform-best-practices.com/code-structure | |
| Naming Convention: https://www.terraform-best-practices.com/naming | |
| 1. AWS Hardening Guidelines (There is a 156 Page guideline) | |
| 2. Convert this hardening guidelines into Terraform code | |
| 3. Configuration Management (Chef, Puppet, Ansible,..) vs Infrastructure Orchestration (Terraform, CloudFormation,..) | |
| 4. Terraform can do both configuration management and infrastructure orchestration | |
| 5. Terraform Init downloads all the plugins associated with the "provider" (check this under the directory .terraform/providers/registry.terraform.io/hashicorp/aws/….. | |
| 6. Terraform.tfvars vs variables.tf | |
| 7. Use conditional expression to handle environment specific workflow |
- Bash v5+ checkout Upgrading Bash on macOS
- bash-completion@2
Gist for https://youtu.be/5-RMu9M_Anc
For more details, refer to https://learn.hashicorp.com/tutorials/vault/getting-started-install
sudo yum install -y yum-utilssudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.reposudo yum -y install vault- Copy the following to
/etc/vault.d/vault.hcl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.6.4-slim-stretch | |
| RUN apt-get update && apt-get install -y build-essential git time | |
| RUN pip install https://anaconda.org/intel/tensorflow/1.6.0/download/tensorflow-1.6.0-cp36-cp36m-linux_x86_64.whl | |
| RUN git clone https://github.com/tensorflow/models.git | |
| ENV PYTHONPATH $PYTHONPATH:$HOME/models | |
| WORKDIR $HOME/models/official/resnet/ | |
| RUN pip3 install -r ../requirements.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: stress-pod | |
| spec: | |
| containers: | |
| - image: gcr.io/google-containers/stress:v1 | |
| args: ["-cpus", "48"] | |
| name: stress-container | |
| resources: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: tf-wide-deep-census-pod | |
| spec: | |
| containers: | |
| - image: <insert-image> | |
| command: ["/bin/sh"] | |
| args: ["-c", "/usr/bin/time python ./wide_deep.py --model_type=wide_deep --train_epochs=500 --epochs_between_eval=500 --batch_size=32561"] | |
| name: tf-wide-deep-census |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.6-slim-stretch | |
| RUN apt-get update && apt-get install -y git time | |
| RUN pip install https://anaconda.org/intel/tensorflow/1.6.0/download/tensorflow-1.6.0-cp36-cp36m-linux_x86_64.whl | |
| RUN git clone https://github.com/tensorflow/models.git | |
| ENV PYTHONPATH $PYTHONPATH:$HOME/models | |
| WORKDIR $HOME/models/official/wide_deep | |
| RUN python ./data_download.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04 | |
| ################################ | |
| # Install apt-get Requirements # | |
| ################################ | |
| # General | |
| RUN apt-get update && \ | |
| apt-get install -y python3-pip cmake zlib1g-dev python3-tk python-opencv \ | |
| # Boost libraries |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM coach-base:master as builder | |
| # prep mujoco and any of its related requirements. | |
| # Mujoco | |
| RUN mkdir -p ~/.mujoco \ | |
| && wget https://www.roboti.us/download/mjpro150_linux.zip -O mujoco.zip \ | |
| && unzip -n mujoco.zip -d ~/.mujoco \ | |
| && rm mujoco.zip | |
| ARG MUJOCO_KEY | |
| ENV MUJOCO_KEY=$MUJOCO_KEY |
NewerOlder