OpenShift Advent Calendar 2023/AWS Containers Advent Calendar 2023ã®12/14ã®è¨äºã§ãã
Red Hatã®å°å³¶ã§ãã
2023å¹´12æã«ãManaged OpenShiftãµã¼ãã¹ã®1ã¤ã§ããROSAãç¡æã§è©¦ããROSA Hands-on Experienceã¨ãããµã¼ãã¹ããªãªã¼ã¹ããã¾ãããæ¬è¨äºã§ã¯ãåææã«æä¾éå§ãã¾ããROSA Hosted Control Plane (HCP)ã®ç¹å¾´ã¨å
±ã«ãROSA Hands-on Experienceã®æ¦è¦ããç´¹ä»ãã¾ãã
- ROSA Hosted Control Plane (HCP)
- ROSA HCPã®æéæ å ±
- ROSA Hands-on Experience
- ROSA HCPã¯ã¼ã¯ã·ã§ããæ¥æ¬èªã³ã³ãã³ã
ROSA Hosted Control Plane (HCP)
ROSA HCPã¯ãOpenShift 4.14ã®ãã¢ã¡ã¿ã«ããã³OpenShift Virtualizationã§æ£å¼ã«ãªãªã¼ã¹ãããHosted Control Planeãåãå ¥ããããROSAã§ããROSA HCPã§ã¯ãOpenShiftã®ã³ã³ããã¼ã«ãã¬ã¼ã³ãRed Hat SREãã¼ã ã®AWSã¢ã«ã¦ã³ãã«ä½æãããOpenShiftã¯ã©ã¹ã¿ã¼ã®Podã¨ãã¦ãããã¤ãããããã«ãªããã¦ã¼ã¶ã¼ã®AWSã¢ã«ã¦ã³ãã«ã¯ã¯ã¼ã«ã¼ãã¼ãã®ã¿ãããã¤ããã¾ããããã«ãã£ã¦ãã¦ã¼ã¶ã¼ã«ã¯ã³ã³ããã¼ã«ãã¬ã¼ã³ãé è½ããã¦ã¯ã¼ã«ã¼ãã¼ãããè¦ããªããªããã¨ããã·ã³ãã«ãªæ§æã«ãªãã¾ããã
ROSA HCPã¯ãã³ã³ããã¼ã«ãã¬ã¼ã³/ã¤ã³ãã©ãã¼ã/ã¯ã¼ã«ã¼ãã¼ããå ¨ã¦ã¦ã¼ã¶ã¼ã®AWSã¢ã«ã¦ã³ãã«ä½æãããå¾æ¥ã®ROSA(ROSA Classicã¨å®ç¾©ãã¦ãã¾ã)ã«æ¯ã¹ãã¨ä½¿ãåæãããªãåä¸ãã¦ããã次ã®ãããªç¹å¾´ãæã¤ãããKubernetesã¤ã³ãã©è¦³ç¹ã§ã¯Amazon EKSãªã©ã®Managed Kubernetesãµã¼ãã¹ã«è¿ããã®ã¨ãªã£ã¦ãã¾ãã
- æå°æ§æãã¯ã¼ã«ã¼ãã¼ã2å°æ§æ (SingleAZ/MultiAZå ±éãããã©ã«ãã¯m5.xlarge(4vCPU/RAM16GiB) x2)
- ã¯ã©ã¹ã¿ã¼ãããã¤æéã®ç縮 (ROSA Classic: 40å~ãROSA HCP: 25å~)
- ã¯ã¼ã«ã¼ãã¼ããAZåä½ã§1å°ãã追å å¯è½ (SingleAZ/MultiAZå ±é)
- ã¯ã¼ã«ã¼ãã¼ã追å æã®ãã¼ã¸ã§ã³é¸æãå¯è½
- ã³ã³ããã¼ã«ãã¬ã¼ã³ã®æ´æ°æéã®ç縮 (ROSA Classic: 90åã»ã©ãROSA HCP: 15åã»ã©)
- ã³ã³ããã¼ã«ãã¬ã¼ã³ã¨ã¯ã¼ã«ã¼ãã¼ãã®æ´æ°ã®åé¢
- ä¸é¨ã®ã¯ã¼ã«ã¼ãã¼ãã®ã¿ãæ´æ°ããã¨ããé¨åæ´æ°ã®å¯¾å¿
ãããã®ã¤ã³ãã©çãªç¹å¾´ã«å ãã¦ã
- ã³ã³ããã¢ããªã±ã¼ã·ã§ã³ã®éçº/éç¨ãæ¯æ´ããããã®æ§ã
ãªæ©è½
- ã¢ããªã±ã¼ã·ã§ã³ã®ãããã¸ã¼/ã¢ãã¿ãªã³ã°/ãã®ã³ã°ãå©ç¨ããããã®Webã³ã³ã½ã¼ã«
- Visual Studio CodeçãªWeb IDE (AIæè¼çç£æ§åä¸ãã¼ã«ã§ããAmazon CodeWhispererãã©ã°ã¤ã³ãå©ç¨å¯è½)
- æ§ã
ãªãã©ã¼ãããã®å
¥åã«å¯¾å¿ãããã¢ããªã±ã¼ã·ã§ã³ãã«ã/ãããã¤ã®èªåå
- Gitãªãã¸ããªã®ã½ã¼ã¹ã³ã¼ã/Dockerfile, ã³ã³ããã¤ã¡ã¼ã¸, JARãã¡ã¤ã«ãªã©
- ã¢ããªã±ã¼ã·ã§ã³ã®ãã¼ã¹OSã¨ãªãRHELã®ãµãã¼ã
- Red Hatã®ãã¼ããã¼ã¨ã³ã·ã¹ãã ã«ãããæ§ã ãªããã«ã¦ã§ã¢ã®ãµãã¼ã (Kubernetes Operatorå«ã)
- ä¸è¨æ©è½ããã«ãããã³ãçã«å©ç¨ããããã®ãå¤é¨èªè¨¼ãããã¤ãã¼ã¨ã®é£æº
- ã¨ã³ã¿ã¼ãã©ã¤ãºã·ã¹ãã ã¨ãã¦å©ç¨ããããã®ãKubernetesåºç¤ã®ã»ãã¥ãªãã£å¼·å (ã³ã³ããã¢ããªã§ã®rootå©ç¨ç¦æ¢ãªã©)
ã¨ãã£ãOpenShiftãªãã§ã¯ã®ç¹å¾´ãåãã¦ãããããã¨ã³ã¿ã¼ãã©ã¤ãºç¨éã«ããã±ã¼ã¸ã³ã°ãããManaged Kubernetesãµã¼ãã¹ãAWSä¸ã§å©ç¨ãããå ´åã«ãROSA HCPãé©ãããµã¼ãã¹ã§ããã¨è¨ãã¾ãã
ROSA HCPã®æéæ å ±
ROSA HCPãå©ç¨ããå ´åã次ã®3ã¤ã®åè¨éé¡ãAWSããã¦ã¼ã¶ã¼ã«è«æ±ããã¾ããRed Hatããã®è«æ±æéã¯ããã¾ããã
- ROSA HCPã®ã¯ã©ã¹ã¿ã¼æé (1ã¯ã©ã¹ã¿ã¼è¾ºãã®æéã0.25USD/cluster/æé)
- ã¯ã¼ã«ã¼ãã¼ãã®ãµã¼ãã¹æé (0.171USD/4vCPU/æé)
- AWSãªã½ã¼ã¹ã®å©ç¨æé (ã¯ã¼ã«ã¼ãã¼ãã®EC2ã¤ã³ã¹ã¿ã³ã¹, EBS, S3, NAT Gatewayãªã©)
ããã©ã«ãã¯m5.xlarge(4vCPU/RAM16GiB)ã¤ã³ã¹ã¿ã³ã¹ã®2å°æ§æã¨ãªãã¾ãã®ã§ãAWSæéæ å ±ã«åºã¥ãã¦ããªãã¤ãªãªã¼ã¸ã§ã³ã§ã®SingleAZ2å°æ§æã®1æé辺ãã®å©ç¨æéãè¨ç®ãã¦ã¿ãã¨ã大ä½ã®ç®å®ã¯$1.3/æé~ã¨ãªãã¾ãã主ãªAWSãµã¼ãã¹ã®æéå 訳ã¯æ¬¡ã®ããã«ãªãã¾ããè¨ç®ã®ç°¡ååã®ããã«ãæéå 訳ããã¯S3ããã¼ã¿è»¢éãªã©ã®å©ç¨æéãé¤ãã¦ãã¾ãã
- ã¯ã©ã¹ã¿ã¼æé
- $0.25 (0.25(USD/cluster) x 1(cluster))
- ã¯ã¼ã«ã¼ãã¼ãã®ãµã¼ãã¹æé
- $0.342 (0.171(USD/4vCPU) x 2(4vCPU))
- ã¯ã¼ã«ã¼ãã¼ãã®EC2/EBS(300GiB x2)ã®å©ç¨æé
- $0.467 (0.192(USD) x 2 + 0.1(USD/GB/month) x 300(GB) / 720(æé/month) x 2)
- NAT Gatewayã®å©ç¨æé (ãã©ã¤ãã¼ããµãããã1ã¤ã«ä»ã1ã¤ä½æããã¾ã)
- $0.045
- NLBã®å©ç¨æé
- $0.0225
ã³ã³ããã¼ã«ãã¬ã¼ã³ã¨ã¤ã³ãã©ãã¼ããæéè«æ±ã®å¯¾è±¡ã§ãã£ãå¾æ¥ã®ROSA Classicã¨æ¯è¼ããã¨ãããªãã¹ãªã åããæéã¨ãªã£ã¦ãã¾ãããªããROSA HCPã§ã¯ãã¤ã³ãã©ãã¼ãã¨ãã¦ã¿ãªãããã¯ã¼ã«ã¼ãã¼ãã¯ããã¾ãããã«ã¼ã¿ã¼/ã¬ã¸ã¹ããª/ã¢ãã¿ãªã³ã°ãªã©ã®ã³ã³ãã¼ãã³ãã¯å ¨ã¦ã¯ã¼ã«ã¼ãã¼ãä¸ã§ç¨¼åããå ¨ã¦ã®ã¯ã¼ã«ã¼ãã¼ãã®å©ç¨æéãè«æ±ããããã¨ã«ãªãã¾ãã
ROSA Hands-on Experience
æ¬é¡ã§ããROSA Hands-on Experienceã¯ãRed Hatã®ãã¢ãã©ãããã©ã¼ã ãå©ç¨ãã¦ãã¦ã¼ã¶ã¼ãç¡æã§ROSA HCPã¯ã©ã¹ã¿ã¼ã«ã¢ã¯ã»ã¹ãã¦ããã³ãºãªã³ãã§ãããµã¼ãã¹ã§ããRed Hatã¢ã«ã¦ã³ãã§ãã°ã¤ã³ãã¦ãRequest experienceããã¯ãªãã¯ããã¨ã大ä½æ°åç§ã§ãã¢ãã©ãããã©ã¼ã ä¸ã®ROSA HCPã¯ã©ã¹ã¿ã¼ã«ã¢ã¯ã»ã¹ã§ããããã«ãªã£ã¦ãã¾ãããã®ãµã¼ãã¹ãå©ç¨ããå ´åãAWSã¢ã«ã¦ã³ãããç¨æããã ãå¿ è¦ã¯ããã¾ããã
ã¾ãããã®ç»é¢ããROSAã³ãã¥ããã¤ã®Slackãã£ãã«(è±èª)ã«åå ã§ããã ãã§ãªãããã³ãºãªã³ä¸ã«è³ªåãããå ´åãç»é¢å³ä¸ã®Red Hatãã´ãã¯ãªãã¯ãããã¨ã§ãRed Hatã®ã«ã¹ã¿ãã¼ãµã¯ã»ã¹ãã¼ã ã¨è±èªãã£ãããã§ããããã«ãªã£ã¦ãã¾ãã
ãã¢ãã©ãããã©ã¼ã ã«ã¢ã¯ã»ã¹ããã¨ã次ã®ãããªç»é¢ã表示ããã¾ããã¦ã¼ã¶ã¼ã¯ç»é¢å·¦ååã®ã³ã³ãã³ãã«è¡¨ç¤ºãããã³ãã³ãããç»é¢å³ååã®Terminalã«ã³ãããã¦ãROSA HCPã¯ã©ã¹ã¿ã¼ãæä½ãã¦ããæµãã¨ãªãã¾ããã¾ããROSA HCPã¯ã©ã¹ã¿ã¼ã®ç®¡çè ã¢ã«ã¦ã³ãã§ãWebã³ã³ã½ã¼ã«ã«ãã°ã¤ã³ãã¦å©ç¨ã§ããããã«ããªã£ã¦ãã¾ãããããã®ã³ã³ãã³ãã¯å ¨ã¦è±èªã¨ãªã£ã¦ãããããå¿ è¦ã«å¿ãã¦Webãã©ã¦ã¶ã®æ©æ¢°ç¿»è¨³æ©è½ã使ã£ã¦ãã ããã
2023å¹´12ææç¹ã§ã®ãROSA Hands-on Experienceã®ã³ã³ãã³ãã¯ä¸è¨ã®16é
ç®ã§ããROSAç¹æã®é
ç®ã ãå¦ç¿ãããå ´åã¯ã1. Explore the ROSA environment
ãã6. Configure Red Hat SSO IDP for ROSA
ã¾ã§ã ããå®è¡ãã¦ãããã§ãããã
ã»ROSAç¹æã®å 容ãå«ãã³ã³ãã³ã
- Explore the ROSA environment
- Upgrade your ROSA cluster
- Managing Worker Nodes
- Autoscale your ROSA Cluster
- Labeling your Worker Nodes
- Configure Red Hat SSO IDP for ROSA
ã»ROSAã ãã§ãªããSelf-Managed OpenShiftã§ãå®è¡å¯è½ãªã³ã³ãã³ã
- Configure Red Hat OpenShift Logging with AWS Cloudwatch
- Deploy an Application with AWS Database
- Deploy an Application with Red Hat OpenShift GitOps
- Secure your applications with Network Policies
- Make your application resilient
- Service Mesh Introduction
- Install Service Mesh Operator
- Deploy Service Mesh Control Plane
- Deploy a Service Mesh example application
- Configure and observe Service Mesh traffic
ãªããROSA Hands-on Experienceã«ã¤ãã¦ã¯ã8æé/1åã®å©ç¨ã3åã¾ã§(延ã¹24æé)ã¨ããå¶éãããã¾ãã4åç®ä»¥éã®å©ç¨ã¯ã§ãã¾ããã®ã§ãã注æãã ããã
ROSA HCPã¯ã¼ã¯ã·ã§ããæ¥æ¬èªã³ã³ãã³ã
ä¸è¨ã翻訳ããã³ã³ãã³ãã§ã¯ããã¾ãããã主ã«ROSA HCPç¹æã®é ç®ã«ãã©ã¼ã«ã¹ãã¦ãROSA HCPã¯ã©ã¹ã¿ã¼ã§ã®ã¢ããªã±ã¼ã·ã§ã³éçº/éç¨ã®åºç¤ãä½æãã¦ããã ãããã®æ¥æ¬èªã³ã³ãã³ã(ä¸å³ã®ãROSA Labãã¨è¨è¼ãã¦ãããã®)ãå¥éæä¾ãã¦ãã¾ãããã®æ¥æ¬èªã³ã³ãã³ããåèã«ããªãããROSA Hands-on Experienceã§æãåºãããROSA HCPã¯ã©ã¹ã¿ã¼ã§ãã³ãºãªã³ãå®æ½ãããã¨ãã§ãã¾ãããã ãããã®å ´åã¯æ¬¡ã®å¶éãããã¾ãã®ã§ã注æãã ããã
- ãã®æ¥æ¬èªã³ã³ãã³ãã¯ãRed Hatã®ã«ã¹ã¿ãã¼ãµã¯ã»ã¹ãã¼ã ã®ç®¡çä¸ã«ãªãããããã£ãããSlackã§ã®è³ªåã¯ã§ãã¾ããã
- ROSA HCPã¯ã©ã¹ã¿ã¼ã®ä½ææé ã¯å®è¡ã§ãã¾ããã
- ROSA Hands-on Experienceã§ã¯AWS IAMã¦ã¼ã¶ã¼ãæãåºããªãããããã®æ¥æ¬èªã³ã³ãã³ãã§ç´¹ä»ãã¦ããCloudWatchã§ã®ãã®ã³ã°è¨å®/確èªæé ã¯å®è¡ã§ãã¾ããã
- ã¯ã¼ã«ã¼ãã¼ãã«ã¤ãã¦ã¯ãæ¢åã®Machinepool(ROSAã§ã¯ã¼ã«ã¼ãã¼ããæ±ãåä½)ã«ã¤ãã¦ã®ã¿ç·¨é(ã¯ã¼ã«ã¼ãã¼ãã®è¿½å /åé¤/ãªã¼ãã¹ã±ã¼ã«å/æ´æ°ãªã©)ã§ãã¾ãããã®ãããæ°è¦Machinepoolã®è¿½å ãåé¤ã¯å®è¡ã§ãã¾ããã
- ææ°çã®ROSA HCPã¯ã©ã¹ã¿ã¼ãæãåºããã¦ããå ´åãROSA HCPã¯ã©ã¹ã¿ã¼ã®æ´æ°æé ã¯å®è¡ã§ãã¾ããã
ROSA HCPã¯ã¼ã¯ã·ã§ããæ¥æ¬èªã³ã³ãã³ãã¯ãä¸è¨ã®ãªã³ã¯ãããåç §ãã ããã
ãã®ã¯ã¼ã¯ã·ã§ããæ¥æ¬èªã³ã³ãã³ãã«ã¤ãã¦ã¯ããè¦æ次第ã§å社åãã«ãéå¬ãã¦ãã¾ãããèå³ãããã¾ããããRed Hatã®æ å½å¶æ¥ãä¸è¨ã®ã購買å°ç¨ã®ãåãåããããã©ã¼ã (ã追å æ å ±ãè¨å ¥æ¬ã«ã赤帽ããã°ã§è¦ãå社åãROSA HCPã¯ã¼ã¯ã·ã§ããã«ã¤ãã¦ã®è©³ç´°ãå¸æããªã©ããè¨å ¥ãã ãã)ãããåãåãããã ããã