Coder Social home page Coder Social logo

dynamodb-rest-api-and-nginx-server's Introduction

Background

This repository is an assignment I received and my solution.
The assignment check for basic AWS knowledge.

Assignment

Prerequisite knowledge

  • Python
  • AWS Services
    • Lambda
    • API Gateway
    • Dynamo DB
    • IAM
    • EC2

Important notes

Please read the following instructions before starting the implementation.
Keep your code clean and clear.

Mission 1 - DynamoDB REST API

The Scenario

The backend development team requests you to develop a REST API that will be responsible for storing the product user’s IDs.
Of course, don’t forget to write down API documentation or a README file that will give specific instructions for the Backend team.

REST API methods

  1. PUT – Insert a new ID into the company Dynamo DB table.
  2. GET – Create the proper lambda function to handle get requests from the server and return a simple JSON response that will indicate whether the ID is in the DB.

Naming Convention

  • DynamoDB Table Name - customer_ids
  • Lambda function/s – Python - Function names should be lowercase, with words separated by underscores.

Mission 2 - Setting Up NGINX Server

Please deploy a static website using a NGINX server on an Ubuntu machine using AWS.

! Open this server only to IP xxx.xxx.xxx.xxx over HTTP !

AMI - Ubuntu Server 20.04 LTS (HVM), SSD Volume Type

Instance Type - t2.micro

HTML Template:

<!doctype html>
<html>
   <head>
      <meta charset="utf-8">
      <title>NGINX Server</title>
   </head>
   <body>
      <h1>Hello from the NGINX Server</h1>
      <p>Congratulations!</p>
   </body>
</html>

Once you are finished, please provide us with a link to this static page and IAM user to connect to your AWS environment.

Good luck

dynamodb-rest-api-and-nginx-server's People

Contributors

idomeisner avatar

Watchers

 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.