Giter VIP home page Giter VIP logo

avasolutionsinterview's Introduction

Vouch Operations Assessment

This repository contains the code and instructions for an assessment used during the interviewing process for operations roles at Vouch.

Description

This system consists of an EC2 node which writes a document to AWS DynamoDB containing some information about the instance created by AWS. Terraform is used to provision the infrastructure.

Assignment

Your assignment consists of the following tasks:

  1. Setup an AWS Account.
  2. Deploy the infrastructure with Terraform. All the resources defined in this repository can run in the AWS Free Tier.
  3. Find the bug in the terraform code, create a git patch and send it to the recruiter you're in contact with. Do not create a pull request.

Documentation

Prerequisites and dependencies

  • Terraform 0.14
  • git
  • ssh

Mechanism

The EC2 instance boots the latest Amazon Linux 2 and runs a shell script through cloud-init user data.

In this shell script, the instance will retrieve instance metadata and store it in an AWS DynamoDB table.

The terraform code requires setting a variable named public_key. This should be the public key of the key pair for launching the instance. You can provide any public key for which you have access to the corresponding private key.

Expected results

If everything properly executes you should be able to see an item like the following in a Dynamo Table named vouch-operations-MachineState

Dynamo Item.

However, there is a bug in the code that prevents the expected result to be completed. We would like you to find the bug, solve it and create a git patch file for the proposed code changes.

In the interest of keeping the assessment a fair challenge for each candidate, do not share your work or solution. This is the reason why we ask you to provide a git patch instead of creating a pull request.

Some guidelines:

  • Do not fork the repository, only clone it.
  • Work on your local git clone to create the patch. Do not push your work to a public repository.

avasolutionsinterview's People

Contributors

stijnopheide avatar

Watchers

Chethan K R 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.