© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Akihiro Tsukada, Startup Solution Architect
Amazon Web Services Japan K.K.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
About me
•
•
•
•
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
[AWS Start-up ]
•
•
•
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
: 2017
https://www.slideshare.net/AmazonWebServicesJapan/aws-startup-2017
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
: 2017
https://www.slideshare.net/AmazonWebServicesJapan/aws-startup-2017
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
: 2018
https://d1.awsstatic.com/events/jp/2018/startupay-speakers/pdf/T01.pdf
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
: 2018
https://d1.awsstatic.com/events/jp/2018/startupay-speakers/pdf/T01.pdf
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Pace of Innovation
AWS offers over 129 fully featured services for compute,
storage, databases, networking, analytics, machine
learning and artificial intelligence (AI), Internet of Things
(IoT), mobile, security, hybrid, and application
development, deployment, and management. AWS has
launched a total of 311 new features and/or services
year to date* for a total of 4,653 new features and/or
services since inception in 2006.
* As of 31 March 2018
2011
82
722
1,430
280
2013 2015 2017
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2018
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1.
2.
3.
4.
5.
6. Growth Hack
7.
8. WebSocket
9.
10.
11.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
§ !
§ …
§
§ "
§
§ KPI
§
§ #
1. Amazon S3
2.
3.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2.
D
A
K
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
-
§
§
§
§
§
§
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
-
§ 7 PG GUC /CIGRCNT LD NCKBGKE 8CNOLK IGUCB 6CSO OGKE , ULK GKCOGO KB CI PCB
:CNRGACO
1 KLOTacd, : -GE/ P -ILE
§ :P NP CA IHO / P HC | V
NG C6 CNW , -NCS W- I GP acd
, : : GP
§ ALLH B OPLNC b e d f mgw
§ ioiuosb e a df hpin LEEGKE NA GPCAP NC P .LLH B
ioiuos ) )
§ 2LS : NP6CSO - GIP B ,NA GPCAP NC LK , : PL ,K ITUC . OPL CN -C RGLN KB
CAL CKB .LKPCKP
lv rty l acd, : -GE/ P -ILE ( )
§ izk b m
BCIT 061 600 61 - 71
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
!
• SSH git pull
• AutoScaling …
"
•
•
#
1.
2. Pull
3. CI/CD
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1.
☓
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1.
☓ §
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. Pull
✕
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. Pull
§
§
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. Pull
§§§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. CI/CD
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Code Pipeline CI/CD
MyApp
CodeCommit
Source
Build
CodeBuild
Build
DeployToInteg
CodeDeploy
Integration
IntegTest
End2EndTester
DeployToProd
CodeDeploy
Production
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
-
§ 6 , 78 , D 7BpvN
§ m d alru cim pvI
§ 6 - BF 8 C 7BD pv I 7BD pv I
§ A D 6 pv I
§ 7 /- pv I 8 B 6 pv
§ 6 E D F 7 zpv ( I ) I
§ 6 ke d osP -1 - im n )
pv I
§ 0 2- WtO n m y 7 /- S F AC
pv I
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
§ !
§
§ "
§
§
§ #
1. 12-factor App
2. Amazon ECS / AWS Fargate
3. Fargate
1. 12-factor App
§ (-20 H
§ S e )
0 -2
§ a D c
§ 0 -2 e H f A 302 11
H P
https://12factor.net/ja/
THE TWELVE-FACTOR APP
1. 12-factor App
1
1
1
3
1
https://12factor.net/ja/
THE TWELVE-FACTOR APP
2. Amazon Elastic Container Service(ECS) / AWS Fargate
§ n h h i n h
ac T mFLE W d
§ sBLBW o uA
§ r k 2 eg
1 0 LC i
B lS
§ 0 D S t L
2. Amazon Elastic Container Service(ECS) / AWS Fargate
D =4B =4B =4B
• . 4 (1
• 0 B (
• 4E : A (
•
T , B e T c
fh IT N M g
S 4C il
• 4C , D (
• =ECD B(
T 4C IT =ECD BSIMN k I d il
, D m
ha k
2 ) D
4C
L D4 BC
• , C B E D(
• 4 =4 B(
( /
) / / /
2. Amazon Elastic Container Service(ECS) / AWS Fargate
/
• , 1 4 D C
• 4 = E
• 1B 2 0E 4 )
•
T =2 4 T T
ce T Td
01 Tfi
• 01 4 =
• ):B 4
01 T):B 4 NhgL a Tfi
4 = M
e hg
01
I)= 1 4
• 4 4 )=B
• =1 (:1 24
(
)
: EKS
§
§ A
A K S E
A
3. Fargate
§ h
# ( R . # ) :2
.: ( 13 3 3 ea 3 ea
§ T
# C R . ) :2
C R cD .: ( 13 3 3 ea
3 .: ( 13 3 3 T
E ) S P fCE
-
§ )21 6 7 D 0 7 17 B a
§ 6 7B )21K
§ ) CD 6 D 7B 17BF 67 8 B /E 7B 7D7C ) /1
)21 B D7K a
§ )21 1E D 7F c K
(
§ )21 O b ) 1 )21 B D7 (
K a
§ 1D BDEA )B6 D76DEB7 8 D 7 7 B (Y S WK (
K
-
§
§
§
§
§
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
!
•
•
"
•
•
#
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic
Load Balancing
§ Average Latency
§ Sum HTTP 5XXs
§ Healthy Hosts
§ Target Connection
Erros
§ …etc
Amazon
RDS
§ CPU Utilization
§ Free Storage Space
§ Freeable Memory
§ Replica Lag
§ …etc
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
§
§
§
§
Amazon
RDS
Elastic
Load
Balancing
Amazon
CloudWatch
AWS
Config
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon
CloudWatch
AutoScaling
Notification
AWS
Lambda
user
AWS
Lambda
HTTP Post
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon
CloudWatch
AutoScaling
Notification
AWS
Lambda
user
AWS
Lambda
HTTP Post
(1)ELB Average Latency
>= 500 msec
(3) +2 Instances
(2) mail to
admin@example.com
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
-
§ 2 6 8 1 8 28 Cy|
§ 0A AC A 2 2 y|
§ A - AF7 6 y|
§ 2 - AF7 C 2 -A y|
§ W wz hpc e aolO m 6 8 y|
§ 2 2F 8 y| %&( %&) %&
§ 2 u %&) y|
§ 8 2861BD A 2 2 kg o %& y|
§ n f i ehn d 2 8 C6 86 87
/C 8 AC M &%% v %& y|
§ SagO rt “ T 2 2 D 8 0 8 8 2 s d
%&( y|
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
!
•
•
"
•
•
#
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone Availability Zone
-
-
-
-
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone Availability Zone
-
-
-
-
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1. Web/App ELB AutoScaling
§
§
§
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1. Web/App ELB AutoScaling
§
§
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. DB
§
§
db.r3.large db.r3.xlarge
§
Read Replicas Master
…
cache
node
(1)Read from
Cache
(2)Read from
Slaves
(3)Read from
Master
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. Amazon S3, CDN,
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
-
§ , 8 -B A - B DB D 8 C D Ss
§ cnai W O gc mtv lehkncg e Q Ns R
§ , E 8 B D N s R
§ ,C MED BE 1 ED Q R
§ 0B 2E - B D D Q N s R 02- u
§ , 8 dog yr ,C MED 0 8 , 8 1 N s
§ , 8 8 CC / / L Q( ) N ( N ( R
§ ,C MED 7/8 pz ( Q N s R
§ ,C MED , E L862 ED / F / ( Q N s R
§ , 8 E862 pz ,C MED 0B # ,C MED /LD CE/- (
Q N s R
Growth Hack
Growth Hack
§ !
§ KPI
§ …
§ "
§
§
§ #
1. AWS Analytics SDK
2. KPI
3.
Growth Hack
1. AWS Analytics (SDK, Library)
§
§
AWS
Amplify
Growth Hack
SDK
Growth Hack
SDK
Growth Hack
Growth Hack
{"ChannelType":"APNS","Address":"1
a2b3c4d5e6f7g8h9i0j1a2b3c4d5e6f"
,"Demographic":{"Make":"apple"}}
{"ChannelType":"GCM","Address":"4d
5e6f1a2b3c4d5e6f7g8h9i0j1a2b3c",
"Demographic":{"Make":"android"}}
…
Growth Hack
2. KPI
§
§
Growth Hack
2. KPI
Growth Hack
3.
Growth Hack
3.
#
#
#
Growth Hack
§ c ek
§ : & i O S P
c ek
§ : & S Ph nm
§ P l ap & D & A C &
c
§ WP l ap & & c
§ B nro
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
!
•
"
•
•
#
1.
2.
3.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2.
6 6
6 6
6
1
6
6
6
c5.large $0.107
$0.072
(33%)
$0.074
(30%)
$0.077
(28%)
$0.0333
(69%)
$0.042
(60%)
$0.055
(48%)
m5.large $0.124
$0.081
(34%)
$0.082
(33%)
$0.086
(30%)
$0.0349
(71%)
$0.048
(61%)
$0.062
(50%)
r5.large $0.152
$0.089
(41%)
$0.092
(39%)
$0.096
(36%)
$0.0366
(76%)
$0.063
(59%)
$0.081
(47%)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2.
§
§
§
§
§
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2.
§
§ Amazon DynamoDB – Reserved Capacity
§ Amazon RDS – Reserved Instance
§ Amazon Redshift – Reserved Node
§ Amazon ElastiCache – Reserved Cache Node
§ Amazon CloudFront – Reserved Capacity
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3.
•
•
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
-
§ 2 67 E 1 2 6C O
§ y mW W ak shlry k]h
§ FEA 276
§ 6IA 2BAE 0 DE6 7 D
§ e n h ak oi W
§ 2 2F E - -6 ( )
§ 2 Wdhl | (
§ k]v l t g 6IA 2 2BAE/ E [
dhlShc y z g hku (
§ 2 C7 E 7E 8 p u y m shl ry k]h
(
WebSocket
• !
• UI
•
• "
• UX
•
" " ###
• $
1. AWS AppSync
2. ALB WebSocket
3. WebSocket
WebSocket
WebSocket
AWS AppSync
type Todo {
id: ID!
name: String
description: String
priority: Int
duedate: String
}
2018.3.12 AWS AppSync
HTTP
WebSocket
WebSocket
WebSocket
WebSocket
WebSocket –
• AWS Black Belt Online Seminar
• Introduction to AWS AppSync and GraphQL - AWS Online Tech Talks
|
• Elastic Load Balancing |
• WebSocket on AWS : 2012 3
• AWS Summit/Dev Day 2016 | 2017 | 2018
• [CyberZ] OPENREC.tv
(2017) |
•
• AWS AppSync / Practical use of AWS
AppSync by Cookpad AWS Dev Day Tokyo 2018
• AWS CyberZ
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• !
• cron …
• Lambda 1
• "
•
•
• #
1. cron
2. AWS Lambda
3. AWS Step Functions Amazon ECS AWS Batch
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• Node.js, Java, Python, Go, C#
• IAM Role AWS KMS
• /tmp
etc
• 2018/10 15
•
1
Step Functions ECS, Batch
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
–
• AWS Black Belt Online Seminar
• Amazon CloudWatch |
• AWS Step Funcations |
• AWS Batch |
• AWS Summit/Dev Day 2016 | 2017 | 2018
• AWS Lambda CPU 100 10
(2017) |
• AWS Eight (2017) |
•
• AWS Lambda
•
• Amazon ECS ScheduleTask Docker
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• !
• …
•
• "
•
•
• #
1. Amazon Pinpoint
2. Amazon CloudFront
3.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• CloudFront
100,000rps
40 Gbps
•
…
• S3 Landing Page
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
-
• AWS Black Belt Online Seminar
• Amazon Pinpoint
( | )
• Auto Scaling |
• [Amazon RDS] Aurora |
• Amazon CloudFront |
• Amazon S3 |
• → https://aws.amazon.com/jp/aws-jp-
introduction/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
:
AWS
Config
Amazon
Inspector
3rd Party
Data Feed
AWS
Lambda
Amazon EBS
Amazon
SNS
AWS
CloudFormation
Auto Scaling
Amazon VPC
flow logs
3rd Party SIEM
NACL SG
AWS WAF
3rd Party IDS
Amazon
CloudFront
AWS
CloudTrail
Amazon
CloudWatch
Amazon
GuardDuty
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• !
• …
• … …
• "
•
• #
1.
2. Well-Architected Framework
CAPD Check-Act
3.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
https://www.slideshare.net/AmazonWebServicesJapan/day-1-with-amazon-web-services-aws10/6
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Well-Architected Framework
•
•
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
•
•
•
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
•
•
•
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
: Amazon GuardDuty
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
•
•
•
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
: AWS FinTech [ ]
•
•
https://aws.amazon.com/jp/compliance/fintech/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
: AWS FinTech [ ]
https://aws.amazon.com/jp/compliance/fintech/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
: FinTech -
https://aws.amazon.com/jp/compliance/fintech/
: FinTech -
https://aws.amazon.com/jp/compliance/fintech/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
: AWS FinTech [ ]
AWS FinTech
↓ AWS FinTech ↓
https://aws.amazon.com/jp/compliance/fintech/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
–
• AWS Black Belt Online Seminar
• AWS ( )
• AWS |
• AWS re:Invent 2017 Recap: Security and Other |
• → https://aws.amazon.com/jp/aws-jp-introduction/
• AWS Summit/Dev Day 2016 | 2017 | 2018
• “AWS Well-Architected
Framework” 100% (2018) |
• DevSecOps on AWS - AWS - (2018) |
• AWS 1 (2018) |
• AWS 2 (2018) ( | )
• AWS (2018) |
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1.
2.
3.
4.
5.
6. Growth Hack
7.
8. WebSocket
9.
10.
11.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
•
https://amzn.to/devday_q
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you

[AWS Start-up ゼミ / DevDay 編] よくある課題を一気に解説! 御社の技術レベルがアップする 2018 秋期講習

  • 1.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Akihiro Tsukada, Startup Solution Architect Amazon Web Services Japan K.K.
  • 2.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. About me • • • •
  • 3.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. [AWS Start-up ] • • •
  • 4.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. : 2017 https://www.slideshare.net/AmazonWebServicesJapan/aws-startup-2017
  • 5.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. : 2017 https://www.slideshare.net/AmazonWebServicesJapan/aws-startup-2017
  • 6.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. : 2018 https://d1.awsstatic.com/events/jp/2018/startupay-speakers/pdf/T01.pdf
  • 7.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. : 2018 https://d1.awsstatic.com/events/jp/2018/startupay-speakers/pdf/T01.pdf
  • 8.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. AWS Pace of Innovation AWS offers over 129 fully featured services for compute, storage, databases, networking, analytics, machine learning and artificial intelligence (AI), Internet of Things (IoT), mobile, security, hybrid, and application development, deployment, and management. AWS has launched a total of 311 new features and/or services year to date* for a total of 4,653 new features and/or services since inception in 2006. * As of 31 March 2018 2011 82 722 1,430 280 2013 2015 2017
  • 9.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 2018
  • 10.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 1. 2. 3. 4. 5. 6. Growth Hack 7. 8. WebSocket 9. 10. 11.
  • 11.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 12.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. § ! § … § § " § § KPI § § # 1. Amazon S3 2. 3.
  • 13.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 14.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 2. D A K
  • 15.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 3.
  • 16.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 3.
  • 17.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. - § § § § § § § § §
  • 18.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. - § 7 PG GUC /CIGRCNT LD NCKBGKE 8CNOLK IGUCB 6CSO OGKE , ULK GKCOGO KB CI PCB :CNRGACO 1 KLOTacd, : -GE/ P -ILE § :P NP CA IHO / P HC | V NG C6 CNW , -NCS W- I GP acd , : : GP § ALLH B OPLNC b e d f mgw § ioiuosb e a df hpin LEEGKE NA GPCAP NC P .LLH B ioiuos ) ) § 2LS : NP6CSO - GIP B ,NA GPCAP NC LK , : PL ,K ITUC . OPL CN -C RGLN KB CAL CKB .LKPCKP lv rty l acd, : -GE/ P -ILE ( ) § izk b m BCIT 061 600 61 - 71
  • 19.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 20.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. ! • SSH git pull • AutoScaling … " • • # 1. 2. Pull 3. CI/CD
  • 21.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 1. ☓ § § §
  • 22.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 1. ☓ §
  • 23.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 2. Pull ✕
  • 24.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 2. Pull § § § § §
  • 25.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 2. Pull §§§
  • 26.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 3. CI/CD
  • 27.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Code Pipeline CI/CD MyApp CodeCommit Source Build CodeBuild Build DeployToInteg CodeDeploy Integration IntegTest End2EndTester DeployToProd CodeDeploy Production
  • 28.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. - § 6 , 78 , D 7BpvN § m d alru cim pvI § 6 - BF 8 C 7BD pv I 7BD pv I § A D 6 pv I § 7 /- pv I 8 B 6 pv § 6 E D F 7 zpv ( I ) I § 6 ke d osP -1 - im n ) pv I § 0 2- WtO n m y 7 /- S F AC pv I
  • 29.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 30.
    § ! § § " § § §# 1. 12-factor App 2. Amazon ECS / AWS Fargate 3. Fargate
  • 32.
    1. 12-factor App §(-20 H § S e ) 0 -2 § a D c § 0 -2 e H f A 302 11 H P https://12factor.net/ja/ THE TWELVE-FACTOR APP
  • 33.
  • 34.
    2. Amazon ElasticContainer Service(ECS) / AWS Fargate § n h h i n h ac T mFLE W d § sBLBW o uA § r k 2 eg 1 0 LC i B lS § 0 D S t L
  • 35.
    2. Amazon ElasticContainer Service(ECS) / AWS Fargate D =4B =4B =4B • . 4 (1 • 0 B ( • 4E : A ( • T , B e T c fh IT N M g S 4C il • 4C , D ( • =ECD B( T 4C IT =ECD BSIMN k I d il , D m ha k 2 ) D 4C L D4 BC • , C B E D( • 4 =4 B( ( / ) / / /
  • 36.
    2. Amazon ElasticContainer Service(ECS) / AWS Fargate / • , 1 4 D C • 4 = E • 1B 2 0E 4 ) • T =2 4 T T ce T Td 01 Tfi • 01 4 = • ):B 4 01 T):B 4 NhgL a Tfi 4 = M e hg 01 I)= 1 4 • 4 4 )=B • =1 (:1 24 ( )
  • 37.
  • 38.
    3. Fargate § h #( R . # ) :2 .: ( 13 3 3 ea 3 ea § T # C R . ) :2 C R cD .: ( 13 3 3 ea 3 .: ( 13 3 3 T E ) S P fCE
  • 39.
    - § )21 67 D 0 7 17 B a § 6 7B )21K § ) CD 6 D 7B 17BF 67 8 B /E 7B 7D7C ) /1 )21 B D7K a § )21 1E D 7F c K ( § )21 O b ) 1 )21 B D7 ( K a § 1D BDEA )B6 D76DEB7 8 D 7 7 B (Y S WK ( K
  • 40.
  • 42.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. ! • • " • • #
  • 43.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Elastic Load Balancing § Average Latency § Sum HTTP 5XXs § Healthy Hosts § Target Connection Erros § …etc Amazon RDS § CPU Utilization § Free Storage Space § Freeable Memory § Replica Lag § …etc
  • 44.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. § § § § Amazon RDS Elastic Load Balancing Amazon CloudWatch AWS Config
  • 45.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon CloudWatch AutoScaling Notification AWS Lambda user AWS Lambda HTTP Post
  • 46.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon CloudWatch AutoScaling Notification AWS Lambda user AWS Lambda HTTP Post (1)ELB Average Latency >= 500 msec (3) +2 Instances (2) mail to admin@example.com
  • 47.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 48.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. - § 2 6 8 1 8 28 Cy| § 0A AC A 2 2 y| § A - AF7 6 y| § 2 - AF7 C 2 -A y| § W wz hpc e aolO m 6 8 y| § 2 2F 8 y| %&( %&) %& § 2 u %&) y| § 8 2861BD A 2 2 kg o %& y| § n f i ehn d 2 8 C6 86 87 /C 8 AC M &%% v %& y| § SagO rt “ T 2 2 D 8 0 8 8 2 s d %&( y|
  • 50.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. ! • • " • • #
  • 51.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Availability Zone Availability Zone - - - - § § §
  • 52.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Availability Zone Availability Zone - - - - § § §
  • 53.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 1. Web/App ELB AutoScaling § § § § § §
  • 54.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 1. Web/App ELB AutoScaling § § § § §
  • 55.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 2. DB § § db.r3.large db.r3.xlarge § Read Replicas Master … cache node (1)Read from Cache (2)Read from Slaves (3)Read from Master
  • 56.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 3. Amazon S3, CDN,
  • 57.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. - § , 8 -B A - B DB D 8 C D Ss § cnai W O gc mtv lehkncg e Q Ns R § , E 8 B D N s R § ,C MED BE 1 ED Q R § 0B 2E - B D D Q N s R 02- u § , 8 dog yr ,C MED 0 8 , 8 1 N s § , 8 8 CC / / L Q( ) N ( N ( R § ,C MED 7/8 pz ( Q N s R § ,C MED , E L862 ED / F / ( Q N s R § , 8 E862 pz ,C MED 0B # ,C MED /LD CE/- ( Q N s R
  • 58.
  • 59.
    Growth Hack § ! §KPI § … § " § § § # 1. AWS Analytics SDK 2. KPI 3.
  • 60.
    Growth Hack 1. AWSAnalytics (SDK, Library) § § AWS Amplify
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 70.
    Growth Hack § cek § : & i O S P c ek § : & S Ph nm § P l ap & D & A C & c § WP l ap & & c § B nro
  • 72.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. ! • " • • # 1. 2. 3.
  • 73.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. § § §
  • 74.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. § § §
  • 75.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 2. 6 6 6 6 6 1 6 6 6 c5.large $0.107 $0.072 (33%) $0.074 (30%) $0.077 (28%) $0.0333 (69%) $0.042 (60%) $0.055 (48%) m5.large $0.124 $0.081 (34%) $0.082 (33%) $0.086 (30%) $0.0349 (71%) $0.048 (61%) $0.062 (50%) r5.large $0.152 $0.089 (41%) $0.092 (39%) $0.096 (36%) $0.0366 (76%) $0.063 (59%) $0.081 (47%)
  • 76.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 2. § § § § §
  • 77.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 2. § § Amazon DynamoDB – Reserved Capacity § Amazon RDS – Reserved Instance § Amazon Redshift – Reserved Node § Amazon ElastiCache – Reserved Cache Node § Amazon CloudFront – Reserved Capacity
  • 78.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 3. • •
  • 79.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. - § 2 67 E 1 2 6C O § y mW W ak shlry k]h § FEA 276 § 6IA 2BAE 0 DE6 7 D § e n h ak oi W § 2 2F E - -6 ( ) § 2 Wdhl | ( § k]v l t g 6IA 2 2BAE/ E [ dhlShc y z g hku ( § 2 C7 E 7E 8 p u y m shl ry k]h (
  • 80.
  • 81.
    • ! • UI • •" • UX • " " ### • $ 1. AWS AppSync 2. ALB WebSocket 3. WebSocket WebSocket
  • 82.
    WebSocket AWS AppSync type Todo{ id: ID! name: String description: String priority: Int duedate: String } 2018.3.12 AWS AppSync HTTP
  • 83.
  • 84.
  • 85.
  • 86.
  • 87.
    WebSocket – • AWSBlack Belt Online Seminar • Introduction to AWS AppSync and GraphQL - AWS Online Tech Talks | • Elastic Load Balancing | • WebSocket on AWS : 2012 3 • AWS Summit/Dev Day 2016 | 2017 | 2018 • [CyberZ] OPENREC.tv (2017) | • • AWS AppSync / Practical use of AWS AppSync by Cookpad AWS Dev Day Tokyo 2018 • AWS CyberZ
  • 89.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. • ! • cron … • Lambda 1 • " • • • # 1. cron 2. AWS Lambda 3. AWS Step Functions Amazon ECS AWS Batch
  • 90.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 91.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 92.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 93.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. • • Node.js, Java, Python, Go, C# • IAM Role AWS KMS • /tmp etc • 2018/10 15 • 1 Step Functions ECS, Batch
  • 94.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 95.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. – • AWS Black Belt Online Seminar • Amazon CloudWatch | • AWS Step Funcations | • AWS Batch | • AWS Summit/Dev Day 2016 | 2017 | 2018 • AWS Lambda CPU 100 10 (2017) | • AWS Eight (2017) | • • AWS Lambda • • Amazon ECS ScheduleTask Docker
  • 97.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. • ! • … • • " • • • # 1. Amazon Pinpoint 2. Amazon CloudFront 3.
  • 98.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 99.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 100.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. • CloudFront 100,000rps 40 Gbps • … • S3 Landing Page
  • 101.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 102.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 103.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. - • AWS Black Belt Online Seminar • Amazon Pinpoint ( | ) • Auto Scaling | • [Amazon RDS] Aurora | • Amazon CloudFront | • Amazon S3 | • → https://aws.amazon.com/jp/aws-jp- introduction/
  • 105.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. : AWS Config Amazon Inspector 3rd Party Data Feed AWS Lambda Amazon EBS Amazon SNS AWS CloudFormation Auto Scaling Amazon VPC flow logs 3rd Party SIEM NACL SG AWS WAF 3rd Party IDS Amazon CloudFront AWS CloudTrail Amazon CloudWatch Amazon GuardDuty
  • 106.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. • ! • … • … … • " • • # 1. 2. Well-Architected Framework CAPD Check-Act 3.
  • 107.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. https://www.slideshare.net/AmazonWebServicesJapan/day-1-with-amazon-web-services-aws10/6
  • 108.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. AWS Well-Architected Framework • •
  • 109.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. • • • •
  • 110.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. • • • •
  • 111.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. : Amazon GuardDuty
  • 112.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. • • • •
  • 113.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 114.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.
  • 115.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. : AWS FinTech [ ] • • https://aws.amazon.com/jp/compliance/fintech/
  • 116.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. : AWS FinTech [ ] https://aws.amazon.com/jp/compliance/fintech/
  • 117.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. : FinTech - https://aws.amazon.com/jp/compliance/fintech/
  • 118.
  • 119.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. : AWS FinTech [ ] AWS FinTech ↓ AWS FinTech ↓ https://aws.amazon.com/jp/compliance/fintech/
  • 120.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. – • AWS Black Belt Online Seminar • AWS ( ) • AWS | • AWS re:Invent 2017 Recap: Security and Other | • → https://aws.amazon.com/jp/aws-jp-introduction/ • AWS Summit/Dev Day 2016 | 2017 | 2018 • “AWS Well-Architected Framework” 100% (2018) | • DevSecOps on AWS - AWS - (2018) | • AWS 1 (2018) | • AWS 2 (2018) ( | ) • AWS (2018) |
  • 121.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. 1. 2. 3. 4. 5. 6. Growth Hack 7. 8. WebSocket 9. 10. 11.
  • 122.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. • • https://amzn.to/devday_q
  • 123.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Thank you