GithubHelp home page GithubHelp logo

maxyermayank / crystal-ami Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 99.76 MB

Crystal Report Server AWS AMI using Packer

PowerShell 100.00%
packer packer-template packer-builder aws aws-ami iaac infrastructure-as-code devops hashicorp-packer hashicorp amazon-web-services packer-provisioner crystal-ami

crystal-ami's Introduction

CRYSTAL-AMI

Crystal Report Server AWS AMI using Packer

Install required tools using Home brew and Pip

Install Packer

brew install packer
packer --version

Install Yacker

pip install matildapeak-yacker
yacker --version

Packer project structure

  • bin: Unix/Powershell scripts that needs to be executed and copied in AMI
  • resources: any artifacts that needs to be in AMI

Packer Lifecycle

Validate → Inspect → Build

  • Validate: check that a template is valid
# If using Packer:
packer validate packer.json

# If using Yacker:
yacker validate packer.yml
  • Inspect: see components of a template
# If using Packer:
packer inspect packer.json

# If using Yacker:
yacker inspect packer.yml
  • Build: build image(s) from template
# If using Packer:
packer build packer.json

# If using Yacker:
yacker build packer.yml

Variables

Variable Example Value Description
ACCESS_KEY AWSEXAMPLEACCESSKEY AWS Access Key
SECRET_KEY AWSEXAMPLESECRETKEY AWS Secret Key
REGION us-east-1 AWS Region where trying to create AMI
SSH_KEY ~/testkey.pem SSH Key path trying to use for AMI and instances
USERNAME NOTADMINEXAMPLE Username for Windows Crystal Instance
PASSWORD NOTADMINEXAMPLE Password for Windows Crystal Instance
SITE_BINDING_NAME xyz.domain.com Domain URL to map IIS site to
DEPLOY_USER_PASSWORD DEPLOYEXAMPLE Password for Deploy User of Windows Crystal Instance

Set Environment Variables

export USERNAME=NOTADMINEXAMPLE
export PASSWORD=NOTADMINEXAMPLE
export SSH_KEY=~/testkey.pem
export ACCESS_KEY=AWSEXAMPLEACCESSKEY
export SECRET_KEY=AWSEXAMPLESECRETKEY
export REGION=us-east-1
export SITE_BINDING_NAME=xyz.domain.com
export DEPLOY_USER_PASSWORD=DEPLOYEXAMPLE

Resources

crystal-ami's People

Contributors

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