Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Golang on AWS
Search
cupper
November 23, 2019
Programming
50
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Golang on AWS
cupper
November 23, 2019
More Decks by cupper
See All by cupper
kintoneでAWSリソースを管理する
cupperservice
0
120
History of HTTP
cupperservice
0
100
Let's get started with Scala
cupperservice
0
420
All in Scala
cupperservice
0
62
Recommendation_of_Gatling.pdf
cupperservice
2
590
What's scala.js?
cupperservice
0
63
How to work in local
cupperservice
0
66
Make a REST Server on Golang
cupperservice
0
97
Why do you use JavaScript
cupperservice
0
41
Other Decks in Programming
See All in Programming
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
220
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
3.1k
Spec-driven Development with AI
simas
PRO
0
2.2k
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
350
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
320
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
200
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
340
SODA - FACT BOOK(EN)
sodainc
1
200
AI Augmentation Techniques with Liberty
ivargrimstad
1
310
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
140
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
14
11k
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
210
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Visualization
eitanlees
153
17k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
560
A Soul's Torment
seathinner
8
3.9k
Are puppies a ranking factor?
jonoalderson
2
4.1k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
920
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
550
Done Done
chrislema
187
17k
The Invisible Side of Design
smashingmag
301
52k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
460
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
68k
Transcript
Golang on AWS #Shizuoka.go 2019.11.23 Kazuhisa Kawashima Renée French
アジェンダ • 自己紹介 • 今日やること • システム構成 • 開発環境 •
Demo • まとめ
自己紹介
自己紹介:川嶋一寿 • 2019年6月株式会社ゆめみに入社(3社目) • フルリモート勤務(静岡) • Golangの経験 勉強会用に簡単なREST APIを作ったことがある程 度
(発表資料) • 好きな言語 Scala, TypeScript (型 Love!) 参考:Shizuoka.jsでのLT資料 • Twitter : @cupperservice • E-mail :
[email protected]
今日やること
今日やること メッセージを受信し、受信したメッセージをストレージに 保管すると同時に、Slackのチャネルに通知するREST APIを作成する。 ストレージ Slack チェネル 処理 保管 通知
メッセージ受信
システム構成
システム構成 AWS Lambda Amazon API Gateway Amazon Simple Storage Service
Slack Golang
使用するサービス • Amazon API Gateway • AWS Lambda • Amazon
S3 (Amazon Simple Storage Service) • AWS CloudFormation • Slack(Web hook)
Amazon API Gateway REST or WebSocketのAPIを構築するサービス AWSまたは、他のサービスにアクセスするAPIを作成 することができる 参照 :
Amazon API Gatewayとは
AWS Lambda サーバを管理する必要なく、コードを実行できるサー ビス 利用者は、自身が作成したコードのみに責任を負う。 メモリ、CPU、ネットワーク等のリソースはAWSが管理 する 参照 : AWS
Lambdaとは
Amazon S3 インターネット用のストレージサービス スケーラブルで信頼性が高く高速で安価なストレージ を利用できる 参照 : Amazon S3とは
AWS CloudFormation AWSリソースをモデル化し、セットアップやプロビジョ ニングを行うサービス 参照 : AWS CloudFormationとは
Slack 説明省略
開発環境
今回使用する開発環境 • golang 1.13.4 • VSCode + Remote - Containers
• Docker, Docker compose • Centos 7 • AWS CLI • SAM(Serverless application model)
Demo
API仕様 • Endpoint : /hello/{name} • Query Parameters ◦ key
◦ value Example : /hello/gopher?key=price&value=1000
まとめ
Golang on AWSってどう? • Golang用のSDKが整備されている。 AWSのリソースにGolangから簡単にアクセスでき る! • SAMは便利 簡単にサーバレスアプリを作って、AWSに配備す
ることができる!
Github repository aws-go-example
Thank you for listening! Renée French