Giter VIP home page Giter VIP logo

chef's Introduction

chef

To create an environment stack using Chef, we need to use AWS OpsWorks

By using this AWS OpsWorks, we create a stack.

A stack is used to manage set of instances or resources.

A stack consists of layers where each layer has one or more instances.

Each layer can be managed by using Chef recipes.

Once managing all the layers are done using Chef recipes, we launch our applciation by running the commands and deploy our application onto servers.

In this task, we do in the following way:

Step 1: Login to aws.amazon.com and choose OpsWorks as AWS Service

Step 2: Create a new Stack and choose Chef12 Stack as we can import our cookbooks and community cookbooks from Chef Supermarket

Step 3: Assign the name of the stack as Build_AWS_Stack and enable the option of using Custom Cookbooks and import custom cookbook that were present in git repository

Step 4: Then we add a layer and assign a name to that layer as Package_Installer.

Step 5: In Package_Installer layer: we create a new Instance and assign IAM roles, Operating system, subnet and SSH keys to login to that instance after creation.

Step 6: So in my first layer: I used a recipe to install httpd service in my first instance.

Step 7: We create a new layer and add a new instance to that layer and apply the haproxy cookbook over that instance and we can acheive load balancing.

chef's People

Contributors

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