Skip to content

Instantly share code, notes, and snippets.

View rupakg's full-sized avatar
😎
drinking from the firehose...

Rupak Ganguly rupakg

😎
drinking from the firehose...
View GitHub Profile
docker container id - 8c37a950839a
# Make sure that the `/var/backups` folder is clean inside the container
# 1. Copy Mongo dump to container folder
(Local System)$ docker cp dump/reaction 8c37a950839a:/var/backups
# 2. Connect to mongodb docker container
(Local System)$ docker exec -it 8c37a950839a /bin/bash
@rupakg
rupakg / api-platform-matrix.md
Last active June 24, 2022 00:03
API platforms comparison table
Platform Design Code Gen. Docs Testing Management
3Scale Supports Swagger None ActiveDocs (Swagger compliant) Developer Portal Security, Analytics, Monetization, Dashboard, Traffic Mgmt.
Akana Graphical Designer. Supports Swagger, RAML, WADL, WSDL Build Code Document Developer Portal API Gateway, Security, Analytics, Orchestration, Transformation, Traffic Mgmt.
Apigee Edge UI. Supports OpenAPI Specs None Developer Portal Developer Portal API Gateway, Security, Analytics, Monetization, Orchestration, Transformation, Traffic Mgmt., API Proxy Editor
Boomi Mediate None
@rupakg
rupakg / serverless-application-for-long-running-process-fargate-lambda.md
Last active August 31, 2021 21:41
Post: How to use AWS Fargate and Lambda for long-running processes in a Serverless app

How to use AWS Fargate and Lambda for long-running processes in a Serverless app

Build an ETL job service by fetching data from a public API endpoint and dumping it into an AWS Redshift database.

Published on Jan. 11th, 2018 at https://serverless.com/blog/serverless-application-for-long-running-process-fargate-lambda/

thumbnail

AWS dropped so many serverless announcements at re:Invent, the community is still scrambling to make sense of them all. This post is all about AWS Fargate.

In this article, I will show you how to create an end-to-end serverless application that extracts thumbnails from video files. But, oh no, processing video files is a long-running process! Whatever will we do?

@rupakg
rupakg / company_tools_services.md
Last active June 2, 2021 17:27
Various tools and services for a company
@rupakg
rupakg / [1.A] Steps for GKE
Created March 24, 2021 18:49 — forked from lucasponce/[1.A] Steps for GKE
Istio Cookbook: Kiali Recipe
[1] Open https://console.cloud.google.com/ with your gmail account
[2] Create a Project / Choose a Project you have access to.
[3] Activate "Cloud Shell"
[4] Prepare a GKE cluster using
https://istio.io/latest/docs/setup/platform-setup/gke/
export PROJECT_ID=`gcloud config get-value project` && \
@rupakg
rupakg / how-to-create-a-rest-api-in-java-using-dynamodb-and-serverless.md
Last active February 22, 2021 13:23
Post: How to create a REST API in Java using DynamoDB and Serverless

How to create a REST API in Java using DynamoDB and Serverless

Build a serverless REST API service in Java, store the data in a DynamoDB table, and deploy it to AWS. All using the Serverless Framework.

Published on April 16th, 2018 at https://serverless.com/blog/how-to-create-a-rest-api-in-java-using-dynamodb-and-serverless/

thumbnail

In this walkthough, we will build a products-api serverless service that will implement a REST API for products. We will be using Java as our language of choice. The data will be stored in a DynamoDB table, and the service will be deployed to AWS.

image

@rupakg
rupakg / ckad-bookmarks.html
Created April 30, 2020 18:49 — forked from runlevl4/ckad-bookmarks.html
CKAD Bookmarks (** indicates example source) [originally sourced from https://github.com/nikhilagrawal577/ckad-notes]
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1576816453" LAST_MODIFIED="1578776782">CKAD</H3>
<DL><p>
@rupakg
rupakg / nano-shorts.md
Created February 26, 2020 22:48 — forked from franz-josef-kaiser/nano-shorts.md
nano keyboard shortcuts

^ = Ctrl key M = Alt key

^G      (F1)            Display this help text
^X      (F2)            Close the current file buffer / Exit from nano
^O      (F3)            Write the current file to disk
^J      (F4)            Justify the current paragraph

^R      (F5)            Insert another file into the current one
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"lambda:CreateFunction",
"cloudformation:ListExports",
"cloudformation:CreateChangeSet",
@rupakg
rupakg / automating-ci-for-python-serverless-app-with-circleci.md
Last active July 1, 2019 02:06
Post: Automating a CI workflow for a Python app with Circle CI

Automating a CI workflow for a Python app with Circle CI

There are big benefits to using serverless architectures in continuous integration & deployment (CI/CD) processes. We'll show you why, and how to do it.

Published on Dec. 6th, 2017 at https://serverless.com/blog/ci-cd-workflow-serverless-apps-with-circleci/

thumbnail

I had previously written a post defining the CI/CD process, discussing various deployment patterns, creating a NodeJS app and automating the end-to-end CI flow.

In this post, I will jump straight into creating a Python app and go over the end-to-end process for automating the CI flow.