AWS Black Belt Tech Webinar 2015(æ§ãã¤ã¹ã¿ã¼ã·ãªã¼ãº)ãã§ã®VPC解説è³æã§ãã 2016/01/18 ã«VPCã®æ°æ©è½ï¼NAT Gateway, VPC Flow Logs, VPCã¨ã³ããã¤ã³ãï¼ã追å ããæ°ããè³æã«æ´æ°ãã¾ãããRead less
æ°æ¸©ä¸ããã¾ãããã»ã»ã»æãã®è¦æã§ããåç°ã§ãã ååã¾ã§ãªãã¡ã¬ã³ã¹ãæ¸ãã¦ãã¾ããããããå®éã«ä½ãã®ã¯ã©ãããããããããï¼ ã£ã¦ãã¨ã§ãã£ã¦ããã¾ãã åã®æ稿ã§ãæ¸ãã¾ããããregionã¯é©å®æå®ãã¦ãã ããã ###awscliã§VPCç°å¢ãæ§ç¯ãããï¼ ä»åã®ã´ã¼ã«ã¯ãã¡ã publicãµãããããï¼ã¤æã¤ä¸è¬çãªVPCãä½æãã¾ãã æ¬æ稿ã®ç®æ¨ã¯ VPCãä½æãã IGWãä½æãã ä½æããIGWãVPCã«ã¢ã¿ãããã ã¨ããã¾ã§ãã£ã¦ã¿ããã¨æãã¾ãã ##1.VPCã®ä½æ ###[aws ec2 create-vpc]ã³ãã³ã æ©éVPCãä½æãã¦ããã¾ããã¾ã使ç¨ããã®ãcreate-vpcã³ãã³ã ååéããVPCãä½æãã¾ãã 使ç¨ãããªãã·ã§ã³ã¯ä»¥ä¸ã®éãã§ãã ãªãã·ã§ã³ æå³ ä½ãæ¸ãã°è¯ãã
Amazon Virtual Private Cloud (Amazon VPC) ã使ç¨ããã¨ãè«ççã«éé¢ããã¦ããå®ç¾©æ¸ã¿ã®ä»®æ³ãããã¯ã¼ã¯å 㧠AWS ãªã½ã¼ã¹ãèµ·åã§ãã¾ããä»®æ³ãããã¯ã¼ã¯ã¯ãã客æ§èªèº«ã®ãã¼ã¿ã»ã³ã¿ã¼ã§éç¨ããã¦ããå¾æ¥ã®ãããã¯ã¼ã¯ã«ããä¼¼ã¦ãã¾ãããAWS ã®ã¹ã±ã¼ã©ãã«ãªã¤ã³ãã©ã¹ãã©ã¯ãã£ã使ç¨ã§ããã¨ããã¡ãªãããããã¾ãã 以ä¸ã¯ãAWS Management Console ã使ç¨ãã VPC ã®ä½ææã«è¡¨ç¤ºããã [ãã¬ãã¥ã¼] ãã¤ã³ã® VPC ã¨ãã®ãªã½ã¼ã¹ãè¦è¦çã«è¡¨ç¾ãããã®ã§ããæ¢åã® VPC ã®å ´åããã®å³ã«ã¯ [ãªã½ã¼ã¹ããã] ã¿ãããã¢ã¯ã»ã¹ã§ãã¾ãããã®ä¾ã§ã¯ãVPC ã¨ä»ã®ãããã¯ã¼ã¯ãªã½ã¼ã¹ã®ä½æãé¸æããéã« [VPC ãä½æ] ãã¼ã¸ã§æåã«é¸æããããªã½ã¼ã¹ã示ãã¦ãã¾ãããã® VPC ã¯ã1 ã¤ã® IPv4 CI
VPC ä½ææé ï¼ä¸ã¤ã®Subnetã«å ¨ã¦ãå ¥ããå ´åï¼ VPCã®ä½æ Subnetã®ä½æ Route Tableã®ä½æ Internet Gatewayã®ä½æ Network ACLã®è¨å® Security Groupã®è¨å® MEMO 1. VPCã®ä½æ ã¾ãå ¨ã¦ã®å ¥ãç©ãä½ãï¼ã¢ãã¬ã¹ã®ç¯å²ãè¨å® â»ãã¨ããå¤æ´ã§ããªãï¼ CIDR block:[/28](16åã®ã¢ãã¬ã¹ãè¨å®ã§ãã) ã [/16](16åã®ã¢ãã¬ã¹ãè¨å®ã§ãã) 2. Subnetã®ä½æ 次ã«å°åãè¢ãä½ãï¼Network ACLã«ãããã©ãã¨éä¿¡ã§ãããè¨å®ï¼ ãã¡ããSubnetãã¨ã«ã¢ãã¬ã¹ãè¨å®ã§ãã AZãã¨ã¨privateãã¨ã«subnetãä½ã 3. Route Tableã®ä½æ Subnetéãå¤é¨éä¿¡ç¨ã®è¨å® Subnetã¨Internet Gatewayã®è¨å® ã¡ã¤ã³ãã¼ãã«ã¨ãã¦è¨å®ãã 4
ã¯ããã« AWSã«ã¯EC2ãRDSãRedshiftãªã©VPCã«å¯¾å¿ãããµã¼ãã¹ãæ°å¤ãããã¾ãã ãããã®ãµã¼ãã¹ãå©ç¨ããå ´åãã¾ãã¯VPCããµãããããä½æãã¾ãã VPCã®ä½æã§ã¯IPã¢ãã¬ã¹(=CIDR)ã«ä½ãæå®ãããè¿·ãæ¹ãå¤ãã®ã§ã¯ãªãã§ããããã ç§ãVPCã¨ãµããããã®CIDRã決ããéã«èæ ®ãã¦ãããã¤ã³ãã¯ããã£ã¨ä»¥ä¸ã®éãã§ãã ãã©ã¤ãã¼ãIPã¢ãã¬ã¹ç¯å²ããæå®ãã VPNãDirect Connectå©ç¨æã¯ãªã³ãã¬ãã¹ã¨ã®éè¤ã«æ³¨æãã VPCãã¢å©ç¨æã¯VPCéã§éè¤ã§ããªã å°æ¥ã®æ¡å¼µã«å¯¾å¿å¯è½ãªCIDRãé¸æãã æä½ã§ã/28以ä¸ãå¿ è¦ CIDRãããã¯ã®ãã¡ã5IPã¯å©ç¨ã§ããªã ELBãé ç½®ãããµããããã¯/27以ä¸ã®CIDRãã¤ãå°ãªãã¨ã8åã®ç©ºãIPãç¨æãã ããããã®è©³ç´°ããç´¹ä»ããæå¾ã«åªå é ä½ãã¾ã¨ãã¾ãã ãã©ã¤ãã¼ãIPã¢ãã¬
ããã«ã¡ã¯ã AWSã«ã¯ãªã½ã¼ã¹ç£è¦ã¨ãã¦CloudWatchãããã¾ãããEC2ã¤ã³ã¹ã¿ã³ã¹ã®å é¨æ å ±ï¼ã¡ã¢ãªããã£ã¹ã¯ã®æ å ±ï¼ã¯åå¾åºæ¥ã¾ããã ããã¯AWSãåã¦ã¼ã¶ã¼ã®ã¤ã³ã¹ã¿ã³ã¹å é¨ã®æ å ±ãåå¾åºæ¥ãªãããã«è¨è¨ããã¦ããããã§ããããã®é¨åããµãã¼ããããã¼ã«ãæä¾ããã¦ãã¾ãã ãAWSçºè¡¨ãLinuxç¨CloudWatchç£è¦ã¹ã¯ãªããã«3ã¤ã®æ°æ©è½ã追å ãªã³ã¯ã«ããéããæè¿ã¢ãããã¼ããããã¾ããã IAM Roleã¸ã®å¯¾å¿ã¯ã¤ã³ã¹ã¿ã³ã¹ã«ã¢ã¯ã»ã¹ãã¼IDã¨ã·ã¼ã¯ã¬ãããã¼ãä¿åããå¿ è¦ããªããªãã®ã§ãå¬ããã§ããã ãããªããã§æ©é試ãã¦ã¿ã¾ããã â»ã¡ãªã¿ã«IAM Roleã«ã¤ãã¦ã¯ãã¡ãã®ããã°ãåèã«ãªãã®ããªã¨æãã¾ãï¼ã¹ããï¼ ç°å¢ ä»åã¯Amazon Linuxã§ããã¾ãããã以ä¸ã®ãããªãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ãOKã¿ããã§ãã Red Hat Ent
Sorry! This site is experiencing technical difficulties.Try waiting a few minutes and reloading. (Can't contact the database server: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (localhost)) You can try searching via Google in the meantime. Note that their indexes of our content may be out of date.
{ "data": [ { "Slave_IO_State": "Waiting for master to send event", "Master_Host": "10.7.1.169", "Master_User": "rdsrepladmin", "Master_Port": 3306, "Connect_Retry": 60, "Master_Log_File": "mysql-bin-changelog.131739", "Read_Master_Log_Pos": 743597, "Relay_Log_File": "relaylog.000242", "Relay_Log_Pos": 496325, "Relay_Master_Log_File": "mysql-bin-changelog.131676", "Slave_IO_Running": "Yes", "Slave
RDS - ãªã¼ãã¬ããªã«ã®ç¶æ ãç£è¦å¯è½ã«ãªãã¾ãã ããã«ã¡ã¯æ¤æ¨å樹ã§ãã5æ23æ¥ããAWS RDSã®MySQLã§ãªã¼ãã¬ããªã«ã®ã¬ããªã±ã¼ã·ã§ã³ç¶æ ãç£è¦å¯è½ã«ãªãã¾ããã ãAWSçºè¡¨ã Amazon RDS - ãªã¼ãã¬ããªã«ã®ç¶æ ãç£è¦å¯è½ã« ã¨ãããã¨ã§è©¦ãã¦ã¿ã¾ããã ããã¼ã¸ã¡ã³ãã³ã³ã½ã¼ã«ã§ã¬ããªã±ã¼ã·ã§ã³ç¶æ ã確èªãã RDSã¤ã³ã¹ã¿ã³ã¹ã®ãã¼ã¸ã§ãªã¼ãã¬ããªã«ãè¦ãã¨"Replication State"ã¨ããé ç®ã追å ããã¦ãã¾ããä¸ã®ç»é¢ã®ããã«Â replicating ã«ãªã£ã¦ããã°æ£å¸¸ã§ããã¨ããã§ããã¤ã®éã«ããRDSã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãæ°ãããªã£ã¦ãã¾ããã ã¬ããªã±ã¼ã·ã§ã³ã失æããã¦ã¿ãã MySQLãã¹ã¿ã¼ãµã¤ããããªã¼ãã¬ããªã«ãä½æãããã¨ã¯æ°é·ã«å¤±æããã®ãå¾ ã£ã¦ã»ã»ã»ããæéã¯ãªãã®ã§ãç¡çç¢ç失æããã¦ãã¾ãã¾ããããä»åã¯ãªã¼ãã¬ã
ãã¼ã¸ã§ã³ 1.300031.0 以éã使ç¨ããã¨ãCloudWatch Application Signals ã使ç¨å¯è½ã«ãªãã¾ãã詳細ã«ã¤ãã¦ã¯ããApplication Signalsããåç §ãã¦ãã ããã ãã¼ã¸ã§ã³ 1.300025.0 以éã§ã¯ãOpenTelemetry ã¾ã㯠X-Ray ã¯ã©ã¤ã¢ã³ã SDK ãããã¬ã¼ã¹ãåéãããããã X-Ray ã«éä¿¡ã§ãã¾ãã CloudWatch ã¨ã¼ã¸ã§ã³ãã使ç¨ããã¨ãå¥éãã¬ã¼ã¹åéãã¼ã¢ã³ãå®è¡ããªãã¦ããã¬ã¼ã¹ãåéã§ãããããå®è¡ããã³ç®¡çããã¨ã¼ã¸ã§ã³ãã®æ°ãæ¸ãããã¨ãã§ãã¾ãã CloudWatch ã¨ã¼ã¸ã§ã³ãã§åéããã¡ããªã¯ã¹ã¯ãä»ã® CloudWatch ã¡ããªã¯ã¹ã¨åæ§ã«ãCloudWatch ã§ãä¿åãã¦è¡¨ç¤ºã§ãã¾ããCloudWatch ã¨ã¼ã¸ã§ã³ãã«ããåéãããã¡ããªã¯ã¹ã®ããã©ã«ãã®åå空
å ãªã³ãã¬ã¨ã³ã¸ãã¢ããAWSã使ã£ãææ³ããªã³ãã¬ã¨ã®éãã«ã¤ãã¦ç´¹ä»ãã¦ããã·ãªã¼ãºãï¼ã¤ãã®ãã¼ãã¯Amazon RDSï¼Amazon Relational Database Serviceï¼ã§ãã ä»åãRDSã使ã£ã¦ã¿ãææ³ãç´¹ä»ãã¦ããã¾ããä»åã¯RDSé«å¯ç¨æ§ç·¨ã§ãã Multi-AZé ç½® RDSã§ã¯ãã¹ã¿ã»ã¹ã¬ã¼ãæ§æã®DBãã¯ãªãã¯ã ãã§æ§ç¯ã§ãã¾ãã ãã«ãAZé ç½®ã¨å¼ã°ããæ©è½ã§ããã¹ã¿ã»ã¹ã¬ã¼ãéã®ã¬ããªã±ã¼ã·ã§ã³ã¨ãã¤ã³ã¹ã¿ã³ã¹é害çºçæã®èªåãã§ã¤ã«ãªã¼ãã¼ãããã¼ã¸ããµã¼ãã¹ã¨ãã¦æä¾ããã¾ãã http://www.slideshare.net/AmazonWebServicesJapan/black-belt-online-seminar-aws-amazon-rds ããå¼ç¨ AuroraãMariaDBãMySQLãOracleãSQL Serverã
Amazon Virtual Private Cloud (Amazon VPC) ã使ç¨ããã¨ãè«ççã«éé¢ããã¦ããå®ç¾©æ¸ã¿ã®ä»®æ³ãããã¯ã¼ã¯å 㧠AWS ãªã½ã¼ã¹ãèµ·åã§ãã¾ããä»®æ³ãããã¯ã¼ã¯ã¯ãã客æ§èªèº«ã®ãã¼ã¿ã»ã³ã¿ã¼ã§éç¨ããã¦ããå¾æ¥ã®ãããã¯ã¼ã¯ã«ããä¼¼ã¦ãã¾ãããAWS ã®ã¹ã±ã¼ã©ãã«ãªã¤ã³ãã©ã¹ãã©ã¯ãã£ã使ç¨ã§ããã¨ããã¡ãªãããããã¾ãã 次ã®å³è¡¨ã¯ãVPC ã®ä¾ã示ãã¦ãã¾ããVPC ã«ã¯ããªã¼ã¸ã§ã³ã®åã¢ãã¤ã©ããªãã£ã¼ã¾ã¼ã³ã« 1 ã¤ã®ãµãããããåãµããããã« EC2 ã¤ã³ã¹ã¿ã³ã¹ãVPC å ã®ãªã½ã¼ã¹ã¨ã¤ã³ã¿ã¼ãããã¨ã®éä¿¡ãå¯è½ã«ããã¤ã³ã¿ã¼ãããã²ã¼ãã¦ã§ã¤ãããã¾ãã ä»®æ³ãã©ã¤ãã¼ãã¯ã©ã¦ã (VPC) VPC ã¯ãã客æ§èªèº«ã®ãã¼ã¿ã»ã³ã¿ã¼ã§éç¨ããã¦ããå¾æ¥ã®ãããã¯ã¼ã¯ã«ããä¼¼ãä»®æ³ãããã¯ã¼ã¯ã§ããVPC ã®ä½æå¾ããµããããã追å ã§ãã¾
Amazon VPC ã®ä½¿ç¨éå§æã«ã¯ãå AWS ãªã¼ã¸ã§ã³ã«ããã©ã«ãã® VPC ãããã¾ããããã©ã«ã VPC ã«ã¯ãåã¢ãã¤ã©ããªãã£ã¼ã¾ã¼ã³ã®ãããªãã¯ãµãããããã¤ã³ã¿ã¼ãããã²ã¼ãã¦ã§ã¤ãããã³ DNS 解決ãæå¹ã«ããããã®è¨å®ãããã¾ãããã®ãããããã«ããã©ã«ã VPC ã« Amazon EC2 ã¤ã³ã¹ã¿ã³ã¹ã®èµ·åãéå§ã§ãã¾ããããã©ã«ãã® VPC ã§ã¯ãElastic Load BalancingãAmazon RDSãããã³ Amazon EMR ãªã©ã®ãµã¼ãã¹ã使ç¨ãããã¨ãã§ãã¾ãã ããã©ã«ã VPC ã¯ãããã«ä½¿ç¨ãéå§ããå ´åããããã°ãã·ã³ãã«ãªã¦ã§ããµã¤ããªã©ããããªãã¯ã¤ã³ã¹ã¿ã³ã¹ãèµ·åããå ´åã«é©ãã¦ãã¾ããããã©ã«ã VPC ã®ã³ã³ãã¼ãã³ãã¯ãå¿ è¦ã«å¿ãã¦å¤æ´ã§ãã¾ãã ãµãããããããã©ã«ã VPC ã«è¿½å ã§ãã¾ãã詳細ã«ã¤ãã¦ã¯ãããµãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}