Banner

My Tech Blog (Amazon)

์˜ค๋Š˜์˜ ๋ช…์–ธ
" ์„ฑ๊ณต์€ ์˜์›ํ•˜์ง€ ์•Š๊ณ , ์‹คํŒจ๋„ ์น˜๋ช…์ ์ด์ง€ ์•Š๋‹ค. ์ค‘์š”ํ•œ ๊ฒƒ์€ ์šฉ๊ธฐ๋‹ค. "
- ์œˆ์Šคํ„ด ์ฒ˜์น  (์˜๊ตญ ์ด๋ฆฌ, ์ •์น˜๊ฐ€)
ยท AWS
1. Which of the following EC2 purchasing options offers the highest discount but is not suitable for databases or critical workloads?์งˆ๋ฌธ 1. ๋‹ค์Œ ์ค‘, ํ• ์ธ ํญ์ด ๊ฐ€์žฅ ํฌ๋‚˜, ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ˜น์€ ์ค‘์š” ์—…๋ฌด์—๋Š” ์ ํ•ฉํ•˜์ง€ ์•Š์€ EC2 ๊ตฌ๋งค ์˜ต์…˜์€ ๋ฌด์—‡์ธ๊ฐ€์š”? โœ”๏ธ 1) Spot Instances (์ŠคํŒŸ ์ธ์Šคํ„ด์Šค)โŒ 2) On-demand (์˜จ๋””๋งจ๋“œ)โŒ 3) Dedicated Hosts (์ „์šฉ ํ˜ธ์ŠคํŠธ)โŒ 4) Reserved Instances (์˜ˆ์•ฝ ์ธ์Šคํ„ด์Šค)Spot Instances are suitable for short-term workloads and are the most cost-effecti..
ยท AWS
EC2 ์ธ์Šคํ„ด์Šค๋ฅผ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ๋ชจ๋“  ๋ฐฉ๋ฒ•1. Spot request1-1.How to check Pricing historyEC2 Dashboard > [Spot requests] > [Pricing history] ์—์„œ EC2 Instance์˜ ์ตœ๊ทผ ์š”๊ธˆ ๋‚ด์—ญ ํ™•์ธ ๊ฐ€๋Šฅ ๊ทธ๋ž˜ํ”„์—์„œ ๊ฒ€์€์ƒ‰ ์„ ์ด On-demand ๊ฐ€๊ฒฉ 1-2. How to request Spot Instance?EC2 Dashboard > [Spot requests] > [Request spot Instance] ๐Ÿฉ Launch parameters (์ธ์Šคํ„ด์Šค๋ฅผ ์‹œ์ž‘ํ•  ๋•Œ ์„ค์ •ํ•˜๋Š” ๋ฐฉ์‹)- Manually configure launch parameters- Use a launch template โ–ถ Manually configur..
ยท AWS
1. EC2 Spot Instance Request โ–ถ Can get a discount up to 90% compared to On-demandโ–ถ Define max spot price and get the instance while current spot price - ์ธ์Šคํ„ด์Šค์˜ ์ŠคํŒŸ ๊ฐ€๊ฒฉ์ด ์šฐ๋ฆฌ๊ฐ€ ์ง€๋ถˆํ•˜๊ณ ์ž ํ•˜๋Š” ์ตœ๋Œ€ ๊ฐ€๊ฒฉ๋ณด๋‹ค ๋‚ฎ๋‹ค๋ฉด ํ•ด๋‹น ์ธ์Šคํ„ด์Šค ์œ ์ง€โ–ถ The hourly spot price varies based on offer and capacity. - ์‹œ๊ฐ„๋‹น ์ŠคํŒŸ์€ ์˜คํผ๋‚˜ ์šฉ๋Ÿ‰์— ๋”ฐ๋ผ ๋‹ค๋ฅด๋‹ค. โญ If the current spot price > your max price you can choose to stop or terminate your instance with a 2 minute..
ยท AWS
1. EC2 Instances Purchasing Options1-1. On-Demand InstancesOn-Demand Instances๋Š” AWS EC2(Elastic Compute Cloud)์—์„œ ์ œ๊ณตํ•˜๋Š” ์ธ์Šคํ„ด์Šค ์œ ํ˜• ์ค‘ ํ•˜๋‚˜๋กœ, ์‚ฌ์šฉ์ž๊ฐ€ ํ•„์š”ํ•  ๋•Œ ์›ํ•˜๋Š” ์ปดํ“จํŒ… ์ž์›์„ ์ƒ์„ฑํ•˜๊ณ , ์‚ฌ์šฉํ•œ ๋งŒํผ๋งŒ ์š”๊ธˆ์„ ์ง€๋ถˆํ•˜๋Š” ๋ฐฉ์‹์ด๋‹ค. ์ด ๋ฐฉ์‹์€ ์„ ๊ฒฐ์ œ๋‚˜ ์žฅ๊ธฐ ์•ฝ์ •์ด ์—†์œผ๋ฉฐ, ์œ ์—ฐํ•˜๊ฒŒ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•˜๋‹ค. โ–ถ ์šฉ๋„์›น์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ํ…Œ์ŠคํŠธ ํ™˜๊ฒฝ, ๋ฐ์ดํ„ฐ ๋ถ„์„ ๋“ฑ์งง์€ ๊ธฐ๊ฐ„ ๋™์•ˆ๋งŒ ๋ฆฌ์†Œ์Šค๊ฐ€ ํ•„์š”ํ•œ ๊ฒฝ์šฐํŠธ๋ž˜ํ”ฝ์ด ์˜ˆ์ธกํ•˜๊ธฐ ์–ด๋ ค์šด ์ƒํ™ฉ(์˜ˆ: e-commerce ์„ธ์ผ ๊ธฐ๊ฐ„)โ–ถ ํŠน์ง•ํŠน์ • ๊ธฐ๊ฐ„ ๋™์•ˆ ์ปดํ“จํŒ… ์ž์›์ด ํ•„์š”ํ•  ๋•Œ ์ž์œ ๋กญ๊ฒŒ ์‹œ์ž‘(Start)ํ•˜๊ฑฐ๋‚˜ ์ค‘์ง€(Stop)ํ•  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ์˜ˆ์ธกํ•  ์ˆ˜ ์—†๋Š” ํŠธ๋ž˜ํ”ฝ ๊ธ‰์ฆ์ด๋‚˜ ๋‹จ๊ธฐ ํ”„๋กœ์ ํŠธ์—..
ยท AWS
1. Connect to Instanceโ–ถ SSH ์—ฐ๊ฒฐ ๋Œ€์‹  ๋ธŒ๋ผ์šฐ์ € ๊ธฐ๋ฐ˜์œผ๋กœ EC2 ์ธ์Šคํ„ด์Šค์— ๋Œ€ํ•œ ์„ธ์…˜์„ ์‹คํ–‰ ํ•  ์ˆ˜ ์žˆ๋‹ค. Instances > click on Instance's name > [Connect] > [EC2 Instance Connect] โ–ถ ๋ช…๋ น์ค„ ์—ฌ๋Ÿฌ๊ฐœ ์‚ฌ์šฉ ์•ˆํ•ด๋„ ์„ธ์…˜์ด ๋ธŒ๋ผ์šฐ์ € ์•ˆ์— ์žˆ๋‹คโ–ถ SSH ์œ ํ‹ธ๋ฆฌํ‹ฐ๋ฅผ ๋ฏธ๋ฆฌ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ ๋„ google.com ๋˜๋Š” ์›ํ•˜๋Š” ์—ฌ๋Ÿฌ ๊ฐ€์ง€ ๋ช…๋ น์„ ์‹คํ–‰ ํ•  ์ˆ˜ ์žˆ๋‹ค.โ–ถ This is relying on SSH behind the scenes โ–ถ If you go edit or delete your Instances Security group rules > Inbounds rules > Edit inbound rules > Delete SS..
ยท AWS
1. SSH (Secure Shell)SSH๋Š” Secure Shell์˜ ์•ฝ์ž๋กœ, ๋„คํŠธ์›Œํฌ๋ฅผ ํ†ตํ•ด ์•ˆ์ „ํ•˜๊ฒŒ ์ปดํ“จํ„ฐ์— ์›๊ฒฉ ์ ‘์†ํ•˜๊ธฐ ์œ„ํ•œ ํ”„๋กœํ† ์ฝœโ–ถ ์•”ํ˜ธํ™”๋œ ํ†ต์‹ : ๋ฐ์ดํ„ฐ๋ฅผ ์•ˆ์ „ํ•˜๊ฒŒ ์ „์†กํ•˜๊ธฐ ๋•Œ๋ฌธ์— ๋„์ฒญ์ด๋‚˜ ๋ฐ์ดํ„ฐ ๋ณ€์กฐ๋ฅผ ๋ฐฉ์ง€. โ–ถ ์›๊ฒฉ ์„œ๋ฒ„ ๊ด€๋ฆฌ: AWS EC2 ๊ฐ™์€ ์„œ๋ฒ„์— ์ ‘์†ํ•ด์„œ ๋ช…๋ น์–ด๋ฅผ ์‹คํ–‰ํ•˜๊ฑฐ๋‚˜ ํŒŒ์ผ์„ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋‹ค. โ–ถ AWS์—์„œ SSH๋Š” ๋ณดํ†ต ํ„ฐ๋ฏธ๋„์ด๋‚˜ ๋ช…๋ น์–ด ์ฐฝ(CLI)์—์„œ ์‹คํ–‰ํ•˜๋Š” ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ์‚ฌ์šฉ๋˜๋Š”๋ฐ, ์•„๋ž˜์™€ ๊ฐ™์€ ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค. ssh -i "your-key.pem" ec2-user@your-ec2-ip2. 3 Ways to connect to EC2 Instance- SSH- PuTTY- EC2 Instance Connect ๐Ÿ˜Š If one method works (SSH, ..
ยท AWS
1. What's Amazon EC2?E2C in AWS stands for Amazon Elastic Compute Cloud = Infrastructure as a Serviceโ–ถ EC2 is one of the most popular of AWS's offeringโ–ถ EC2 is not a single service. โ–ถ mainly consists in the capability of :- Renting virtual machines (EC2) ๊ฐ€์ƒ๋จธ์‹  ์ž„๋Œ€ ํ•  ์ˆ˜ ์žˆ๋Š”๋ฐ ์ด๊ฑธ EC2 Instance ๋ผ๊ณ  ํ•จ- Storing data on virtual drives (EBS) ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ƒ ๋“œ๋ผ์ด๋ธŒ or EBS Volume์— ์ €์žฅ ํ•  ์ˆ˜ ์žˆ๋‹ค- Distrubuting load across ..
ยท AWS
1.  AWS Billing and Cost Management (setting Budget)Is a service that provides tools for managing and controlling your AWS spending. Within this service, the Budgets tab allows you to set custom cost, usage, and reservation budgets. You can track your AWS usage and costs against these budgets and receive alerts when you approach or exceed your specified thresholds. This tab is useful for ensurin..
์ƒ๋‹จ์œผ๋กœ