Sirlawdin / Udagram-Instagram-on-AWS

This is a cloud-based application for uploading, listing, and filtering images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elastic Beanstalk in AWS

Elastic Beanstalk may is a platform among AWS that's used for deploying and scaling internet applications. In easy terms, this platform as a Platform as a Service (PaaS) takes your application code and deploys it whereas provisioning the supporting design and reckon resources needed for your code to run. Elastic Beanstalk additionally absolutely manages the fixture and security updates for those provisioned resources.

exploitation the Elastic Beanstalk platform delivers the chance to pay longer developing and fewer time managing your network, storage, o/s and compute runtimes as this can be all handled by Elastic Beanstalk. This results in faster deployment since all you would like to try and do is package up your code, feed it to Elastic stem and also the platform takes it from there.

full stack

Getting Started

URL

http://segun-udagram-dev.us-east-1.elasticbeanstalk.com/

Images of the elastic beanstalk deployement screenshoot

Screenshot 2022-05-16 at 12 05 26

Screenshot 2022-05-16 at 12 15 07

Udagram Image Filtering Microservice-on-AWS

This is a cloud-based application for uploading, listing, and filtering images. This Project uses a Node.js/Express, a popular JavaScript framework for networked application development to develop this application. A REST API to issue commands using HTTP, store data in Amazon Web Services (AWS) Relational Data Service (RDS) and S3, extend the codebase with secure authentication sign-on features, and deploy to AWS Elastic Beanstalk.

Getting Started

Udagram is a simple cloud application developed alongside the Udacity Cloud Engineering Nanodegree. It allows users to register and log into a web client, post photos to the feed, and process photos using an image filtering microservice.

The project is split into three parts:

  1. The Simple Frontend

  2. The RestAPI Backend

  3. The Image Filtering Microservice

Setup Node Environment

  1. Create a new node server. In thr terninal we do the following

    • Initialize a new project:

                               npm i
      
    • Run the development server with

                             npm run dev
      

Create a new endpoint in the server.ts file

Create an endpoint in ./src/server.ts which uses query parameter to download an image from a public URL, filter the image, and return the result.

Helper functions will be used to handle some of these concepts and we're importing it for you at the top of the ./src/server.ts file.

           `import {filterImageFromURL, deleteLocalFiles} from './util/util';`

Deploying your system

We will deploy the application by followin the process below

                                         npm run build
                                         
                                         eb init

                                         eb create

                                         eb deploy

About

This is a cloud-based application for uploading, listing, and filtering images.

License:MIT License


Languages

Language:TypeScript 96.4%Language:Dockerfile 3.6%