ã¯ããã«
èªèº«ã®ãªãªã¢ãã䜿çšããAWSãµãŒãã¹ãäžå¿ã«ç°¡åã«ãŸãšããŠãããŸãã
ã·ã¹ãã ãã€ã³ãã©ããæ§ç¯ããã¡ãªãã
ã€ã³ãã©ãã§ããããã«ãªãã¡ãªãã
èªåã§ãµãŒãã¹ãäœãã
- ãµãŒãã¹ããªãªãŒã¹ã§ãã
- éçºããéã®ãã¹ãç°å¢ãèªåã§äœããããã«ãªã
ã·ã¹ãã å šäœã§å¯Ÿå¿ã§ãã
- é害ããã£ããšãã«ãã©ãã«åé¡ãããããåãåããããã
- 察å¿çãèãããšãã«ã¢ããªã±ãŒã·ã§ã³ã ãã§ãªããã·ã¹ãã å šäœã§å¯Ÿå¿ã§ãã
AWSãšã¯ïŒ
Amazon Web Servicesã®ç¥ãAmazonãæäŸããäžçæ倧èŠæš¡ã®ã¯ã©ãŠããµãŒãã¹ã
â»ã¯ã©ãŠããµãŒãã¹ãšã¯ã€ã³ã¿ãŒãããçµç±ã§æ©èœã®æäŸãè¡ããµãŒãã¹ã
ç¹åŸŽ
- ãµãŒãã¹ãè±å¯
- ãªãœãŒã¹ãæè»ïŒå¿ èŠãªãšãã«å¿ èŠãªæã ã調éã§ãããäŸãã°ããµãŒãã¹ã®ãã£ã³ããŒã³æã«ã¢ã¯ã»ã¹æ°ãå¢å ããããšãèããããå ŽåããµãŒããŒã®å°æ°ãå¢ãããªã©ãïŒ
- åŸé課éïŒäœ¿ã£ãåã ããïŒ
ã€ã³ãã©ãšã¯ïŒ
ã€ã³ãã©ã¹ãã©ã¯ãã£ãŒã®ç¥ãåºç€ãïŒç掻ã€ã³ãã©=æ°ŽéãªããŠèšãæ¹ãããŸãããïŒ
æ¥çã§ã¯ãµãŒããŒããããã¯ãŒã¯ãæãã
ãµãŒããŒ
ã¯ã©ã€ã¢ã³ãã«å¯ŸããŠããµãŒãã¹ãæäŸããã³ã³ãã¥ãŒã¿ãŒ
ãããã¯ãŒã¯
è€æ°ã®ã³ã³ãã¥ãŒã¿ãŒãã€ãªãã§ãããŒã¿ãéåä¿¡ã§ããããã«ãããã®
ãããã¯ãŒã¯ã®æŠå¿µ
ãªãŒãžã§ã³
AWSã®åãµãŒãã¹ãæäŸãããŠããå°åã
ãªãŒãžã§ã³ã«äœ¿ãããµãŒãã¹ãç°ãªããåºæ¬çã«ã¯æ±äº¬ãªãŒãžã§ã³ã䜿ããïŒç¹ã«çç±ããªããã°æ±äº¬ãªãŒãžã§ã³ïŒ
ã¢ãã€ã©ããªãã£ãŒãŸãŒã³
ç¬ç«ããããŒã¿ã»ã³ã¿ãŒãã©ã®ãªãŒãžã§ã³å ã«ãè€æ°ãé¢ããŠååšããŠãããé¢ããŠããçç±ãšããŠã¯ãïŒã€ãµãŒããçœå®³çã§æœ°ããŠãæ¿ããããããã«ã
VPC
AWSäžã«ä»®æ³ãããã¯ãŒã¯ãäœæã§ãããµãŒãã¹ã
ã€ã¡ãŒãžãšããŠã¯ãªãŒãžã§ã³ã®äžã«ååšãVPCã®äžã«ã¢ãã€ã©ããªãã£ãŸãŒã³ãèšçœ®ã
ãµãããã
ã€ã¡ãŒãžãšããŠãã¢ãã€ã©ããªãã£ãŸãŒã³ã®äžã«ååšãVPCã现ããåºåã£ããããã¯ãŒã¯ãäŸãã°ãŠã§ããµãŒããŒã¯ã€ã³ã¿ãŒãããããèŠããŠãããŒã¿ããŒã¹ãµãŒããŒã¯ã€ã³ã¿ãŒãããããèŠããªãããã«ãããå ŽåããµãããããïŒã€äœæããïŒã€ãèŠããããã«ãããïŒã€ã¯èŠããªãããã«ããããªã©ã®äœ¿ãæ¹ãããã
ãããªãã¯ãµãããã
ã€ã³ã¿ãŒãããããæ¥ç¶ããããã®ãµããããããŠã§ããµãŒããŒãèšçœ®ã
ãã©ã€ããŒããµãããã
ã€ã³ã¿ãŒãããããé ããµãããããããŒã¿ããŒã¹ãµãŒããŒãèšçœ®ã
ã€ã³ã¿ãŒãããã²ãŒããŠã§ã€
VPCãšã€ã³ã¿ãŒããããã€ãªããä»®æ³ã®ã«ãŒã¿ãŒ
EC2
AWSã¯ã©ãŠãäžã®ä»®æ³ãµãŒããŒã
AMI
ã€ã³ã¹ã¿ã³ã¹èµ·åã«å¿ èŠãªOSã®ã€ã¡ãŒãžããµãŒããŒã®ãã³ãã¬ãŒãã®ãããªãã®ã
ã¹ãã¬ãŒãž
ãµãŒããŒã«ãã£ã€ããããŒã¿ã®ä¿åå ŽæãEC2ã¯ïŒçš®é¡ã®ã¹ãã¬ãŒãžãããã
EBS
- é«ãèçšæ§ãšèä¹ æ§ããã€ã¹ãã¬ãŒãžã
- ä»ã®ã€ã³ã¹ã¿ã³ã¹ãšä»ãæ¿ãå¯èœ
- Stop/TerminateããŠãä¿åå¯èœ
- ã¹ãããã·ã§ãããS3ã«ä¿åå¯èœ
- EBSã®è²»çšãå¥éçºç
- OSãDBãªã©æ°žç¶æ§ãšèä¹ æ§ãå¿ èŠãªããŒã¿ã眮ã
ã€ã³ã¹ã¿ã³ã¹ã¹ãã¢
- ã€ã³ã¹ã¿ã³ã¹å°çšã®äžæçãªã¹ãã¬ãŒãž
- ä»ã®ã€ã³ã¹ã¿ã³ã¹ãšä»ãæ¿ãäžå¯
- Stop/Terminateãããšã¯ãªã¢ãããã
- ç¡æ
- ãªããªã£ãŠãããªãããŒã¿ã¯çœ®ããªã
- äžæãã¡ã€ã«ããã£ãã·ã¥ãªã©ã倱ãããŠãåé¡ããªãããŒã¿ã眮ãã
Route53
AWSã®DNSãµãŒãã¹ãããŒã ãµãŒããŒã®åœ¹å²ãæããã
é«å¯çšæ§ïŒã·ã¹ãã ãç¶ç¶ããŠçšŒåã§ããèœåïŒãªããš100%
DNS
ãã¡ã€ã³åã®ç®¡çã·ã¹ãã ããã¡ã€ã³åãIPã¢ãã¬ã¹ã«å€æãããããŒã ãµãŒããŒãšå€ãªãŸã«ãã®ïŒã€ããæ§æãããŠããã
ããŒã ãµãŒããŒ
ãã¡ã€ã³åãšããã«çŽã¥ãIPã¢ãã¬ã¹ãç»é²ãããŠãããµãŒããŒ
ãã«ãªãŸã«ã
IPã¢ãã¬ã¹ã調ã¹ãŠæããŠããããµãŒããŒ
äœè«
ãã¡ã€ã³ãšãµãŒããŒïŒIPã¢ãã¬ã¹ïŒãDNSã§çŽä»ããªããã°ãã¡ã€ã³åã§æ€çŽ¢ããŠãã衚瀺ãããªãã
ãã¡ã€ã³åã¯ãåå.comã§è³Œå
¥ïŒç§ã®å Žåãç¹ã«çç±ã¯ãªããïŒ
RDS
ãã«ãããŒãžã§ã³ãªãªã¬ãŒã·ã§ãã«ããŒã¿ããŒã¹ã®ãµãŒãã¹ã
ãã£ãããããšãæ§ç¯éçšã®æéãåæžããAWSãšã³ãžãã¢ã«ããããŒã¿ããŒã¹èšèšã®ãã¹ããã©ã¯ãã£ã¹ãé©å¿ãâã³ã¢æ©èœã®éçºã«æ³šåã§ããã
ç©çãµãŒããŒèšçœ®âOSã€ã³ã¹ããŒã«âã¢ããããŒãâããã¯ã¢ããâã¹ã±ãŒãªã³ã°âã¢ããªæé©åã®ç©çãµãŒããŒèšçœ®ããã¹ã±ãŒãªã³ã°ãŸã§èªåã§ãã£ãŠãããã楜ããããïŒïŒ
å©çšå¯ã®åãšã³ãžã³
- MySQL
- PostgreSQL
- Oracle
- Microsoft SQL Server
- Amazon Aurora
- MariaDB
S3
S3ã¯å®äŸ¡ã§èä¹
æ§ã®é«ãAWSã®ã¯ã©ãŠãã¹ãã¬ãŒãžãµãŒãã¹ã
ãªãªã¢ããã¯ç»åã®ä¿åå ŽæãšããŠäœ¿çšããã
1GB3å/æ
ãã±ãã=ããŒã¿ã®ä¿åå Žæ
ãªããžã§ã¯ãïŒããŒã¿æ¬äœ
ããŒïŒãªããžã§ã¯ãã®æ ŒçŽURL
äœæããã€ã³ãã©æ§æå³ïŒäœæéäžïŒ
çµããã«
ãŸã ãŸã ãã€ã³ãã©æ§æã®æ
ã¯ç¶ãã
Dockerã»CircleCIãåŠãã§å°å
¥ãããã