SlideShare a Scribd company logo
Start serverless
with Golang
Danggeun Market, SEP 26 2019
Byun Kyuhyun
Danggeun Market
Software engineer
Introduction
- Danggeun Market Software engineer
- AWSKRUG Serverless Group Organizer
- CircleCI User Group Organizer
- Node.js, AWS, DevOps, Serverless
- Golang, Typescript, Javascript, French
- https://novemberde.github.io
- https://github.com/novemberde
Introduction 01
Serverless
Why golang
Benefits
Demo
References
02
03
04
05
06
Serverless
Serverless
● Eliminates the need to manage application servers
● Focus on business logic
● No worries about infrastructure growth
● Little time to set up or optimize servers
● Very little charge for services used during the
development period(Based on AWS Lambda)
● Easy to integrate with other services
● No need to access server
● Accelerate development
Serverless - Problems
● Require POC for the migration to serverless architecture
● Require understanding Cloud Provider services
(AWS - Lambda, Azure - Function, GCP - Function)
● Require knowing Debugging tools
● Could be more expensive than EC2
Serverless - AWS Lambda
● Supports all of languages and runtimes
(Golang, Node.js, Python, .Net core, Java ...)
● Logging & Monitoring through CloudWatch
● Easy to bind with API Gateway & Application Load Balancer
● Support Websocket and REST API in API Gateway
● No concerns of scale-out
● Enable processing & caching on CloudFront
Serverless - Serverless Framework
● Easy and Simple code to deploy serverless infrastructure
● Supports language templates
● Biggest community in Serverless
● Supports 8 cloud providers
(AWS, GCP, Azure, Kubeless, Spotinst, Cloudflare, Alibaba
Cloud, Openwhisk)
● Support SODD(Stack Overflow driven development)
Why Golang?
{
Why Golang?
Easy
No dependencies
No node_modules
No requirements.txt
No os dependencies
No build issues
No performance issues
01. BACKGROUND
{
Why Golang?
Simple
Only one binary output
Usage
01. BACKGROUND
Benefits
Golang
Benefits
.
├── README.md
└── bin
└── rest
Node.js
.
├── README.md
├── app.js
├── handler.js
├── package-lock.json
├── package.json
├── routes
│ └── todo.js
├── serverless.yml
├── spec
│ └── todo.spec.js
├── node_modules
│ └── ...
├── template.yaml
└── test
└── handler.js
Demo
Enhancement of
AWS Lambda
Resolved the cold start issue of AWS Lambda
● Added provisioned concurrency
https://aws.amazon.com/ko/about-aws/whats-new/2019/12/aws-lambda-a
nnounces-provisioned-concurrency/
● Improved VPC networking
https://aws.amazon.com/ko/blogs/compute/announcing-improved-vpc-net
working-for-aws-lambda-functions/
Disable provisioned concurrency
Enable provisioned concurrency
References
● https://github.com/awslabs/aws-lambda-go-api-proxy
● https://echo.labstack.com/guide
● https://serverless.com/
● https://github.com/novemberde/go-serverless-demo
● https://novemberde.github.io/ppts/svelte/
● https://github.com/spf13/cobra
We’re hiring!!
bit.ly/dangguen
Thank you :)
Email: novemberde1@gmail.com
Blog: https://novemberde.github.io
Github:https://github.com/novemberde

More Related Content

What's hot (20)

PDF
Beyond OpenStack | OpenStack in Real Life
Opsta
 
PPT
Beyond Heroku: Hosting Your Rails App Yourself
stcarpenter
 
PDF
Preprocessor Workflow with Grunt
Vlad Filippov
 
PDF
Front-end development automation with Grunt
benko
 
PDF
DevOpsDays Berlin 2018 Terraform hands-on workshop
Kirill Zonov
 
PDF
The evolving container landscape
Nilesh Trivedi
 
PDF
PostCSS - process CSS in a modular way.
Andreas Sahle
 
PDF
Everyday tools and tricks for scaling Node.js
Nikolay Stoitsev
 
PPTX
AKS - Azure Kubernetes Services - kubernetes meetup may 2018
Jorge Arteiro
 
PDF
Sandstone HPC: A Domain General Gateway for New Users
Zebula Sampedro
 
PPTX
The State of CI/CD Tooling in 2019
CloudOps2005
 
PDF
OpenStack Ansible for private cloud at Kaidee
Jirayut Nimsaeng
 
PPTX
'Deploying with GlassFish & Docker'
C2B2 Consulting
 
PDF
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES
Alex Soto
 
PPTX
SQL_HA_DR_Azure
Oleg Chorny
 
PDF
Serverless
Diego Pacheco
 
PDF
Spring Tooling: What's new and what's coming
martinlippert
 
PPTX
Deep dive into Kubernetes on Azure
Jorge Arteiro
 
PPTX
Azure DevOps - Minicurso Gratuito Azure na Prática #3
Renato Groff
 
PDF
Building a dev pipeline using GitHub Actions, Node.js, and AWS ECS Fargate
datree
 
Beyond OpenStack | OpenStack in Real Life
Opsta
 
Beyond Heroku: Hosting Your Rails App Yourself
stcarpenter
 
Preprocessor Workflow with Grunt
Vlad Filippov
 
Front-end development automation with Grunt
benko
 
DevOpsDays Berlin 2018 Terraform hands-on workshop
Kirill Zonov
 
The evolving container landscape
Nilesh Trivedi
 
PostCSS - process CSS in a modular way.
Andreas Sahle
 
Everyday tools and tricks for scaling Node.js
Nikolay Stoitsev
 
AKS - Azure Kubernetes Services - kubernetes meetup may 2018
Jorge Arteiro
 
Sandstone HPC: A Domain General Gateway for New Users
Zebula Sampedro
 
The State of CI/CD Tooling in 2019
CloudOps2005
 
OpenStack Ansible for private cloud at Kaidee
Jirayut Nimsaeng
 
'Deploying with GlassFish & Docker'
C2B2 Consulting
 
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES
Alex Soto
 
SQL_HA_DR_Azure
Oleg Chorny
 
Serverless
Diego Pacheco
 
Spring Tooling: What's new and what's coming
martinlippert
 
Deep dive into Kubernetes on Azure
Jorge Arteiro
 
Azure DevOps - Minicurso Gratuito Azure na Prática #3
Renato Groff
 
Building a dev pipeline using GitHub Actions, Node.js, and AWS ECS Fargate
datree
 

Similar to Start Serverless with Golang! (20)

PDF
Bootify Yyour App from Zero to Hero
EPAM
 
PPTX
Building self service framework
Rovshan Musayev
 
PDF
PaaS options for .NET
Slawomir Dorzak
 
PDF
Jumpstart your idea with AWS Serverless [Oct 2020]
Dhaval Nagar
 
ODP
Go lambda-presentation
Steven White
 
PDF
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Dhaval Nagar
 
PDF
API Microservices with Node.js and Docker
Apigee | Google Cloud
 
PPTX
MuleSoft_Noida_Meetup_CICD_Azure_07_May_2022.pptx
Shiva Sahu
 
PDF
Openshift serverless Solution
Ryan ZhangCheng
 
PDF
Crio.do - Deployment on AWS Masterclass
Dhaval Nagar
 
PPTX
Functional as a service TDC 2020
Paulo Victor Gomes
 
PPTX
Serverless java
Vishwas N
 
PDF
2022 Presentation | Serverless Innovation with AWS
Dhaval Nagar
 
PDF
INTERFACE by apidays 2023 - No more coding API's, Prerna Sood, Syncloop
apidays
 
PDF
Serverless Days Ahmedabad - Dhaval Nagar.pptx.pdf
Dhaval Nagar
 
PDF
GreatLearning Webinar - Microservices and Event-Driven Architecture.pdf
Dhaval Nagar
 
PDF
AWS Community Day - Amy Negrette - Gateways to Gateways
AWS Chicago
 
PDF
PyConIT 2018 Writing and deploying serverless python applications
Cesar Cardenas Desales
 
PPTX
Introduction to Google Cloud Services / Platforms
Nilanchal
 
PPTX
London-MuleSoft-Meetup-April-19-2023
AnuragSharma900
 
Bootify Yyour App from Zero to Hero
EPAM
 
Building self service framework
Rovshan Musayev
 
PaaS options for .NET
Slawomir Dorzak
 
Jumpstart your idea with AWS Serverless [Oct 2020]
Dhaval Nagar
 
Go lambda-presentation
Steven White
 
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Dhaval Nagar
 
API Microservices with Node.js and Docker
Apigee | Google Cloud
 
MuleSoft_Noida_Meetup_CICD_Azure_07_May_2022.pptx
Shiva Sahu
 
Openshift serverless Solution
Ryan ZhangCheng
 
Crio.do - Deployment on AWS Masterclass
Dhaval Nagar
 
Functional as a service TDC 2020
Paulo Victor Gomes
 
Serverless java
Vishwas N
 
2022 Presentation | Serverless Innovation with AWS
Dhaval Nagar
 
INTERFACE by apidays 2023 - No more coding API's, Prerna Sood, Syncloop
apidays
 
Serverless Days Ahmedabad - Dhaval Nagar.pptx.pdf
Dhaval Nagar
 
GreatLearning Webinar - Microservices and Event-Driven Architecture.pdf
Dhaval Nagar
 
AWS Community Day - Amy Negrette - Gateways to Gateways
AWS Chicago
 
PyConIT 2018 Writing and deploying serverless python applications
Cesar Cardenas Desales
 
Introduction to Google Cloud Services / Platforms
Nilanchal
 
London-MuleSoft-Meetup-April-19-2023
AnuragSharma900
 
Ad

More from Kyuhyun Byun (14)

PPTX
Golang Project Guide from A to Z: From Feature Development to Enterprise Appl...
Kyuhyun Byun
 
PDF
Go 도입 후 4년 간 기록
Kyuhyun Byun
 
PPTX
성장하는 엔지니어가 되는 법- 주니어편.pptx
Kyuhyun Byun
 
PDF
성장하는 서버 개발자 되기 - Wanted Livetalk
Kyuhyun Byun
 
PDF
당근마켓 고언어 도입기, 그리고 활용법
Kyuhyun Byun
 
PDF
RDS에서 Aurora PostgreSQL Migration한 후기
Kyuhyun Byun
 
PDF
RDS에서 Aurora PostgreSQL 마이그레이션하기
Kyuhyun Byun
 
PDF
CircleCI로 Serverless API의 CI/CD 환경 구축하기
Kyuhyun Byun
 
PDF
Serverless websocket 톺아보기
Kyuhyun Byun
 
PDF
0원으로 시작하는 서버리스 데이터 수집 및 분석
Kyuhyun Byun
 
PDF
포털 검색어 순위 수집 및 분석 후기
Kyuhyun Byun
 
PDF
ALB+EC2 to API gateway + Lambda
Kyuhyun Byun
 
PDF
Docker와 DevOps에서 Serverless와 NoOps로의 여정
Kyuhyun Byun
 
PPTX
Ec2 docker docker-compose
Kyuhyun Byun
 
Golang Project Guide from A to Z: From Feature Development to Enterprise Appl...
Kyuhyun Byun
 
Go 도입 후 4년 간 기록
Kyuhyun Byun
 
성장하는 엔지니어가 되는 법- 주니어편.pptx
Kyuhyun Byun
 
성장하는 서버 개발자 되기 - Wanted Livetalk
Kyuhyun Byun
 
당근마켓 고언어 도입기, 그리고 활용법
Kyuhyun Byun
 
RDS에서 Aurora PostgreSQL Migration한 후기
Kyuhyun Byun
 
RDS에서 Aurora PostgreSQL 마이그레이션하기
Kyuhyun Byun
 
CircleCI로 Serverless API의 CI/CD 환경 구축하기
Kyuhyun Byun
 
Serverless websocket 톺아보기
Kyuhyun Byun
 
0원으로 시작하는 서버리스 데이터 수집 및 분석
Kyuhyun Byun
 
포털 검색어 순위 수집 및 분석 후기
Kyuhyun Byun
 
ALB+EC2 to API gateway + Lambda
Kyuhyun Byun
 
Docker와 DevOps에서 Serverless와 NoOps로의 여정
Kyuhyun Byun
 
Ec2 docker docker-compose
Kyuhyun Byun
 
Ad

Recently uploaded (20)

PPTX
Orchestrating things in Angular application
Peter Abraham
 
PPTX
原版西班牙莱昂大学毕业证(León毕业证书)如何办理
Taqyea
 
PPTX
一比一原版(SUNY-Albany毕业证)纽约州立大学奥尔巴尼分校毕业证如何办理
Taqyea
 
PDF
Build Fast, Scale Faster: Milvus vs. Zilliz Cloud for Production-Ready AI
Zilliz
 
PDF
Apple_Environmental_Progress_Report_2025.pdf
yiukwong
 
PPTX
Optimization_Techniques_ML_Presentation.pptx
farispalayi
 
PPTX
PE introd.pptxfrgfgfdgfdgfgrtretrt44t444
nepmithibai2024
 
PPTX
Lec15_Mutability Immutability-converted.pptx
khanjahanzaib1
 
PPTX
04 Output 1 Instruments & Tools (3).pptx
GEDYIONGebre
 
PDF
The Internet - By the numbers, presented at npNOG 11
APNIC
 
PDF
AI_MOD_1.pdf artificial intelligence notes
shreyarrce
 
PDF
Azure_DevOps introduction for CI/CD and Agile
henrymails
 
PPT
introductio to computers by arthur janry
RamananMuthukrishnan
 
PPTX
L1A Season 1 ENGLISH made by A hegy fixed
toszolder91
 
PPTX
L1A Season 1 Guide made by A hegy Eng Grammar fixed
toszolder91
 
PDF
BRKACI-1001 - Your First 7 Days of ACI.pdf
fcesargonca
 
PDF
BRKACI-1003 ACI Brownfield Migration - Real World Experiences and Best Practi...
fcesargonca
 
PPTX
Softuni - Psychology of entrepreneurship
Kalin Karakehayov
 
PDF
Cleaning up your RPKI invalids, presented at PacNOG 35
APNIC
 
PPTX
PM200.pptxghjgfhjghjghjghjghjghjghjghjghjghj
breadpaan921
 
Orchestrating things in Angular application
Peter Abraham
 
原版西班牙莱昂大学毕业证(León毕业证书)如何办理
Taqyea
 
一比一原版(SUNY-Albany毕业证)纽约州立大学奥尔巴尼分校毕业证如何办理
Taqyea
 
Build Fast, Scale Faster: Milvus vs. Zilliz Cloud for Production-Ready AI
Zilliz
 
Apple_Environmental_Progress_Report_2025.pdf
yiukwong
 
Optimization_Techniques_ML_Presentation.pptx
farispalayi
 
PE introd.pptxfrgfgfdgfdgfgrtretrt44t444
nepmithibai2024
 
Lec15_Mutability Immutability-converted.pptx
khanjahanzaib1
 
04 Output 1 Instruments & Tools (3).pptx
GEDYIONGebre
 
The Internet - By the numbers, presented at npNOG 11
APNIC
 
AI_MOD_1.pdf artificial intelligence notes
shreyarrce
 
Azure_DevOps introduction for CI/CD and Agile
henrymails
 
introductio to computers by arthur janry
RamananMuthukrishnan
 
L1A Season 1 ENGLISH made by A hegy fixed
toszolder91
 
L1A Season 1 Guide made by A hegy Eng Grammar fixed
toszolder91
 
BRKACI-1001 - Your First 7 Days of ACI.pdf
fcesargonca
 
BRKACI-1003 ACI Brownfield Migration - Real World Experiences and Best Practi...
fcesargonca
 
Softuni - Psychology of entrepreneurship
Kalin Karakehayov
 
Cleaning up your RPKI invalids, presented at PacNOG 35
APNIC
 
PM200.pptxghjgfhjghjghjghjghjghjghjghjghjghj
breadpaan921
 

Start Serverless with Golang!