Tagging
Try bookmarklet. Easy tagging.
Do you want to delete?
Do you want to modify?
  • LINKTAG
  • New
  • Tag
  • Comment
  • Tag, aws
Sign in

aws

it ops aws efs ec2

[AWS] ๐Ÿ“š EFS ๊ฐœ๋… ์›๋ฆฌ & ์‚ฌ์šฉ ์„ธํŒ… ๐Ÿ’ฏ ์ •๋ฆฌ

EFS (Elastic File System) Amazon EFS(Elastic File System)๋Š” ์ด๋ฆ„์—์„œ ๋ณผ์ˆ˜ ์žˆ๋“ฏ์ด, AWS ํด๋ผ์šฐ๋“œ ์„œ๋น„์Šค์™€ ์˜จํ”„๋ ˆ๋ฏธ์Šค ๋ฆฌ์†Œ์Šค์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๊ฐ„๋‹จํ•˜๊ณ  ํ™•์žฅ ๊ฐ€๋Šฅํ•˜๋ฉฐ ํƒ„๋ ฅ์ ์ธ ํŒŒ์ผ ์Šคํ† ๋ฆฌ์ง€๋ฅผ ์ œ๊ณตํ•˜๋Š” ์„œ๋น„์Šค ์ด๋‹ค. EFS๋Š” ๋ฆฌ๋ˆ…์Šค ์ธ์Šคํ„ด์Šค๋ฅผ ์œ„ํ•œ ํ™•์žฅ์„ฑ, ๊ณต์œ ์„ฑ ๋†’์€ ํŒŒ์ผ ์Šคํ† ๋ฆฌ์ง€๋กœ, EC2 Linux ์ธ์Šคํ„ด์Šค์— ๋งˆ์šดํŠธ๋œ Network File System(NFS)์„ ํ†ตํ•ด VPC์—์„œ ํ•„์š”ํ•œ ํŒŒ์ผ์— ์ ‘๊ทผํ•˜๊ฑฐ๋‚˜ AWS Direct Connect๋กœ ์—ฐ๊ฒฐ๋œ ์˜จํ”„๋ ˆ๋ฏธ์Šค ์„œ๋ฒ„์˜ ํŒŒ์ผ์— ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ๋‹ค. ์‰ฝ๊ฒŒ ์ƒ๊ฐํ•ด์„œ EFS๋Š” ํšŒ์‚ฌ์˜ ์˜จํ”„๋ ˆ๋ฏธ์Šค ํ™˜๊ฒฝ์˜ NFS, NAS ํด๋”์™€ ๋น„์Šทํ•œ ์„œ๋น„์Šค๋ผ๊ณ  ์ดํ•ดํ•˜๋ฉด ๋œ๋‹ค. ๊ทธ๋ž˜์„œ ์ˆ˜์ฒœ๋Œ€์˜ EC2 ์ธ์Šคํ„ด์Šค๊ฐ„ ํŒŒ์ผ ์‹œ์Šคํ…œ ๊ณต์œ  ๊ฐ€๋Šฅํ•˜๋ฉฐ,..
wono | discuss |
it ops aws s3 efs

[AWS] ๐Ÿ“š S3 / EBS / EFS ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค ๋น„๊ต

S3 vs EBS vs EFS ์Šคํ† ๋ฆฌ์ง€ ๋น„๊ต EBS, EFS, S3 ๋ชจ๋‘ ๋ฐ์ดํ„ฐ๋ฅผ ์ €์žฅํ•˜๋Š” ํŒŒ์ผ ์ €์žฅ ๊ณต๊ฐ„ ์„œ๋น„์Šค์ž„์—๋Š” ๊ฐ™๋‹ค. ํ•˜์ง€๋งŒ ๊ฐ๊ฐ ์„œ๋น„์Šค ํŠน์ง•๊ณผ ์„ฑ๋Šฅ์— ๋”ฐ๋ผ ์‚ฌ์šฉ ์šฉ๋„๋ฅผ ๋ถ„๋ณ„ํ•  ํ•„์š”๊ฐ€ ์žˆ๋‹ค. ๋ฐ์ดํ„ฐ ์‹œ์ ์—์„œ ๋ณด๋ฉด EBS๋Š” ๋ณผ๋ฅจ ๊ธฐ๋ฐ˜์ด๋ฉฐ, S3๋Š” ๊ฐ์ฒด ๊ธฐ๋ฐ˜, ๊ทธ๋ฆฌ๊ณ  EFS๋Š” ํŒŒ์ผ ๊ธฐ๋ฐ˜ ์ €์žฅ ์„œ๋น„์Šค์ด๋‹ค. ์ด ์„ธ๊ฐ€์ง€ ํŒŒ์ผ ์ €์žฅ ์Šคํ† ๋ฆฌ์ง€์˜ ํŠน์ง•์„ ์‚ดํŽด๋ณด๋Š” ์‹œ๊ฐ„์„ ๊ฐ„๋‹จํžˆ ๊ฐ€์ ธ๋ณด์ž. EFS (Elastic File Storgae) AWS ํด๋ผ์šฐ๋“œ ์„œ๋น„์Šค์™€ ์˜จํ”„๋ ˆ๋ฏธ์Šค ๋ฆฌ์†Œ์Šค์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๊ฐ„๋‹จํ•˜๊ณ  ํ™•์žฅ ๊ฐ€๋Šฅํ•˜๋ฉฐ ํƒ„๋ ฅ์ ์ธ ์™„์ „ ๊ด€๋ฆฌํ˜• ํƒ„๋ ฅ์  NFS ํŒŒ์ผ ์‹œ์Šคํ…œ NFSv4(Network File System) ํ”„๋กœํ† ์ฝœ ์‚ฌ์šฉ VPC ๋‚ด EC2 ์ธ์Šคํ„ด์Šค๋Š” ์ง์ ‘ ์•ก์„ธ์Šค ํ•  ์ˆ˜ ์žˆ์Œ On-premise ์„œ๋ฒ„๋Š” D..
wono | discuss |
it ops aws s3 cloudfront

[AWS] ๐Ÿ“š CloudFront ๊ฐœ๋… ์›๋ฆฌ & ์‚ฌ์šฉ ์„ธํŒ… ๐Ÿ’ฏ ์ •๋ฆฌ

CloudFront ํด๋ผ์šฐ๋“œํ”„๋ก ํŠธ๋Š” ๊ฐœ๋ฐœ์ž ์นœํ™”์  ํ™˜๊ฒฝ์—์„œ ์งง์€ ์ง€์—ฐ ์‹œ๊ฐ„๊ณผ ๋น ๋ฅธ ์ „์†ก ์†๋„๋กœ ๋ฐ์ดํ„ฐ, ๋™์˜์ƒ, ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ฐ API๋ฅผ ์ „์„ธ๊ณ„ ๊ณ ๊ฐ์—๊ฒŒ ์•ˆ์ „ํ•˜๊ฒŒ ์ „์†กํ•˜๋Š” ๊ณ ์† ์ฝ˜ํ…์ธ  ์ „์†ก ๋„คํŠธ์›Œํฌ(CDN) ์„œ๋น„์Šค์ด๋‹ค. CloudFront๋Š” CDN ์„œ๋น„์Šค์™€ ์ด์™ธ์—๋„ ๊ธฐ๋ณธ ๋ณด์•ˆ ๊ธฐ๋Šฅ(Anti-DDoS)์„ ์ œ๊ณตํ•œ๋‹ค. CDN ์ด๋ž€? CDN(Content Delivery Network or Content Distribution Network, ์ฝ˜ํ…์ธ  ์ „์†ก ๋„คํŠธ์›Œํฌ) ์€ ์ฝ˜ํ…์ธ ๋ฅผ ํšจ์œจ์ ์œผ๋กœ ์ „๋‹ฌํ•˜๊ธฐ ์œ„ํ•ด ์—ฌ๋Ÿฌ ๋…ธ๋“œ๋ฅผ ๊ฐ€์ง„ ๋„คํŠธ์›Œํฌ์— ๋ฐ์ดํ„ฐ๋ฅผ ์ €์žฅํ•˜์—ฌ ์ œ๊ณตํ•˜๋Š” ์‹œ์Šคํ…œ์ด๋‹ค. ์ธํ„ฐ๋„ท ์„œ๋น„์Šค ์ œ๊ณต์ž(ISP,Internet Service Provider)์— ์ง์ ‘ ์—ฐ๊ฒฐ๋˜์–ด ๋ฐ์ดํ„ฐ๋ฅผ ์ „์†กํ•˜๋ฏ€๋กœ, ์ฝ˜ํ…์ธ  ๋ณ‘๋ชฉ์„ ํ”ผํ•  ์ˆ˜ ์žˆ๋Š” ..
wono | discuss |
it ops aws s3 cloudfront

[AWS] S3 ํผ๋ธ”๋ฆญ ์•ก์„ธ์Šค ์ฐจ๋‹จ ์œ ์ง€ํ•˜๋ฉฐ URL ํ—ˆ์šฉ ๋ฐฉ๋ฒ•

S3์— ์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œ ํ•œ ํ›„ ํ•ด๋‹น ์ด๋ฏธ์ง€๋ฅผ ์ธ๋„ค์ผ์ด๋‚˜, ์›น์— ๋„์šฐ๊ธฐ ์œ„ํ•ด ์—ฌ๋Ÿฌ๊ฐ€์ง€ ์„ค์ •์ด ๊ฐ€๋Šฅํ•˜๋‹ค.๊ฐ€์žฅ ์‰ฌ์šด ๋ฐฉ๋ฒ•์€ S3 ๋ฒ„ํ‚ท ์ž์ฒด๋ฅผ ํผ๋ธ”๋ฆญํ•˜๊ฒŒ ์—ด์–ด์ฃผ๋ฉด ๋œ๋‹ค.ํ•˜์ง€๋งŒ ๋งŒ์•ฝ ๋‚ด S3 ๋ฒ„ํ‚ท์•ˆ์— ๋“ค์–ด๊ฐ„ ์ด๋ฏธ์ง€์— ๊ฐœ์ธ์ •๋ณด๊ฐ€ ์žˆ๊ฑฐ๋‚˜ ํ˜น์€ ์ค‘์š”ํ•œ ๊ณ„์•ฝ ์ •๋ณด๊ฐ€ ๋‹ด๊ฒจ ์žˆ๋‹ค๋ฉด S3 ๋ฒ„ํ‚ท์„ ๊ณต๊ฐœ๋กœ ์—ด์–ด๋†“๋Š” ๊ฒƒ์€ ๋ณด์•ˆ์ƒ ๋งค์šฐ ์ทจ์•ฝํ•œ ํ–‰๋™์ด ๋  ๊ฒƒ์ด๋‹ค.ย ย ๊ทธ๋ ‡๋‹ค๋ฉด ์–ด๋–ค ๋ฐฉ๋ฒ•์œผ๋กœ S3๋Š” ๋น„ํ™œ์„ฑํ™”๋ฅผ ์œ ์ง€ํ•˜๋ฉฐ URL์„ ์˜คํ”ˆํ•  ์ˆ˜ ์žˆ์„๊นŒ?ย 1. ๋ฏธ๋ฆฌ ์„œ๋ช…๋œ URL ๊ณต์œ ์ด ๊ธฐ๋Šฅ์€ ๋ฒ„ํ‚ท ๋ฐ ๊ฐ์ฒด๊ฐ€ ํ”„๋ผ์ด๋น—ํ•˜๋‹ค๊ณ  ํ•˜๋”๋ผ๋„ ๋ฏธ๋ฆฌ ์„œ๋ช…๋œ URL์„ ํ†ตํ•ด์„œ ์™ธ๋ถ€์—์„œ ์ ‘๊ทผ์„ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•˜๋Š” ๊ฒƒ์ด๋‹ค.ํ•˜์ง€๋งŒ ์ด URL์€ ์ •ํ•ด์ง„ ์‹œ๊ฐ„์ด ์žˆ์–ด ๊ทธ ์‹œ๊ฐ„์ด ๋งŒ๋ฃŒ๋˜๋ฉด URL์ด ๋งŒ๋ฃŒ๊ฐ€ ๋œ๋‹ค.์ด ๊ธฐ๋Šฅ์„ ์ง€์†์ ์œผ๋กœ ์“ฐ๋ ค๊ณ  ํ•œ๋‹ค๋ฉด ๋žŒ๋‹ค๋ฅผ ํ†ตํ•ด์„œ ์ผ์ • ์‹œ๊ฐ„๋งˆ๋‹ค ๊ณ„์† ..
wono | discuss |
it ops aws s3 presignedurl

[AWS + Spring] S3 : ํŒŒ์ผ ์—…๋กœ๋“œ & ๋‹ค์šด๋กœ๋“œ (2) (Presigned URL, Multipart Upload)

์ด์ „ ํฌ์ŠคํŒ…์—์„œ๋Š” Spring ํ”„๋กœ์ ํŠธ์—์„œ ๋กœ์ปฌ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ๊ณผ, EC2 ํ”„๋กœ๋•์…˜ ํ™˜๊ฒฝ์— ๋”ฐ๋ฅธ S3 ์—ฐ๋™ ๋ฐฉ๋ฒ• ๋ฐ ๊ธฐ๋ณธ์ ์ธ ์—…๋กœ๋“œ์™€ ๋‹ค์šด๋กœ๋“œ๋ฅผ ๊ตฌํ˜„ํ•ด ๋ณด์•˜์—ˆ๋‹ค.ย ์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” S3 ์—…๋กœ๋“œ์™€ ๋‹ค์šด๋กœ๋“œ ๋ฐฉ์‹์„ ๊ณ ๋„ํ™”ํ•˜์—ฌ Presigned URL์„ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ ์‚ดํŽด๋ณด๊ณ , ์—…๋กœ๋“œ ์‹œ ์—ฌ๋Ÿฌ๊ฐœ์˜ Chunk ๋‹จ์œ„๋กœ ๋ถ„ํ•  ์—…๋กœ๋“œํ•˜๋Š” ๋ฐฉ์‹์ธ S3 Multipart Upload์— ๋Œ€ํ•ด์„œ๋„ ํ•จ๊ป˜ ์‚ดํŽด๋ณด๋ ค๊ณ  ํ•œ๋‹ค.ย 1. Presigned URLย  ย - ์—…๋กœ๋“œ ๋ฐ ๋‹ค์šด๋กœ๋“œ ๊ตฌํ˜„ (Spring + ๋ฐ”๋‹๋ผ JS)2. Multipart ์—…๋กœ๋“œย  ย - ์—…๋กœ๋“œ ๋ฐ ๋‹ค์šด๋กœ๋“œ ๊ตฌํ˜„ (Spring + ๋ฐ”๋‹๋ผ JS)ย ย ย  [AWSย +ย Spring]ย S3ย ํ™œ์šฉย :ย ํŒŒ์ผย ์—…๋กœ๋“œ์™€ย ๋‹ค์šด๋กœ๋“œย (1)ย (๊ฐœ๋ฐœย ํ™˜๊ฒฝย ๋ฐย ํ”„๋กœ๋•์…˜ย ํ™˜๊ฒฝ์—์„œ์˜ย ๊ธฐ๋ณธ..
wono | discuss |
it ops aws s3 presignedurl

AWS S3 & Pre-signed URL ์‚ฌ์šฉ ํ›„ ๋ฐœ์ƒํ•œ ๋ฌธ์ œ๋“ค (feat. CORS)

์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œํ•˜๊ฑฐ๋‚˜ ์‚ญ์ œํ•˜๋Š” ํ–‰์œ„๋Š” ํ•ด๋‹น ์„œ๋น„์Šค์— ๊ถŒํ•œ์ด ์žˆ๋Š” ์‚ฌ๋žŒ๋งŒ ํ•  ์ˆ˜ ์žˆ๋‹ค. ์ด๋ฅผ ์œ„ํ•ด ์„œ๋ฒ„์—์„œ Pre-signed Url์„ ๋ฐ›์•„์™€ AWS S3์— ์ ‘๊ทผํ•˜๋„๋ก ๋งŒ๋“ค์—ˆ๋‹ค. ์ด๋Ÿฐ ๊ตฌ์กฐ๊ฐ€ ๋˜๋ฉด์„œ ๋ช‡ ๊ฐ€์ง€ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋Š”๋ฐ ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค. ์‚ฌ์šฉ์ž๊ฐ€ ์ด๋ฏธ์ง€๋ฅผ ์ œ์ถœํ•˜๋ฉด Client(React)๋Š” ์„œ๋ฒ„์—๊ฒŒ Pre-signed URL์„ ๋ฐ›์•„์™€ AWS S3์— ๋ฐ”๋กœโ€ฆ
wono | discuss |
it ops aws s3 presignedurl

Pre-Signed URL๊ณผ Signed URL๋กœ S3 ์•ˆ์ „ํ•˜๊ฒŒ ์‚ฌ์šฉํ•˜๊ธฐ

๐Ÿ‘€ย ๋“ค์–ด๊ฐ€๋ฉฐ
wono | discuss |
it ops aws ami doc

16. Instance AMI ์ƒ์„ฑ(์‹ค์Šต)

์ด๋ฒˆ์žฅ์—์„œ AMI ์ฆ‰ ์ธ์Šคํ„ด์Šค ์ด๋ฏธ์ง€๋ฅผ ์ƒ์„ฑํ•ด ๋ณธ๋‹ค. 1) EC2์˜ ์ธ์Šคํ„ด์Šค ๋ฉ”๋‰ด์—์„œ ๊ธฐ์กด์— ๋งŒ๋“ค์–ด ๋†“์€ **Lucky-Instance**๋ฅผ ์„ ํƒํ•œ๋‹ค. ๊ทธ๋ฆฌ๊ณ  **์ž‘์—… > ์ด๋ฏธโ€ฆ
wono | discuss |
it ops aws backup

how_to_calculate_cost_of_aws_backups

wono | discuss |
it ops aws subnet

[AWS] public & private subnet ๋ถ„๋ฆฌ๋กœ ์„œ๋ฒ„ ์šด์˜ํ•˜๊ธฐ

๊ฐœ์š”AWS ์„œ๋น„์Šค๋ฅผ ์กฐ๊ธˆ ๋” ๋ณด์•ˆ์„ฑ ์žˆ๊ฒŒ ์šด์˜ํ•˜๊ณ ์ž ํ•œ๋‹ค๋ฉด, ํ•œ VPC ๋‚ด์˜ subnet์„ ๋ถ„๋ฆฌํ•˜์—ฌ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ๋‹ค.์ด๋ฒˆ ํ”„๋กœ์ ํŠธ๋Š” ์•ž์œผ๋กœ ๋™์•„๋ฆฌ์—์„œ ์ญ‰ ์‚ฌ์šฉํ•  ์„œ๋น„์Šค์ด๋ฏ€๋กœ ์ฒ˜์Œ๋ถ€ํ„ฐ ๋ณด์•ˆ์— ์œ ์˜ํ•˜์—ฌ ์„ค๊ณ„๋ฅผ ํ•ด์•ผ๊ฒ ๋‹ค ๋‹ค์งํ–ˆ๋‹ค!!ย ย ๊ทธ๋ž˜์„œ ์ด ํฌ์ŠคํŒ…์„ ํ†ตํ•ด ์–ด๋–ค ๊ณผ์ •์„ ๊ฒช์—ˆ๋Š”์ง€ ์ •๋ฆฌํ•ด๋ณด๋ ค ํ•œ๋‹ค.AWS์—์„œ ์ž์ฒด์ ์œผ๋กœ ํ•ด์ฃผ๋Š” ๊ฒƒ์ด ๋งŽ์•„์„œ ์ƒ๊ฐ๋ณด๋‹ค ๋งŽ์ด ๊ฐ„๋‹จํ–ˆ๋‹ค.ย VPC ๋งŒ๋“ค๊ธฐAWS ๊ณ„์ •์„ ์ƒ์„ฑํ•˜๊ณ  ๋‚˜๋ฉด ๊ธฐ๋ณธ VPC๋Š” ์กด์žฌํ•œ๋‹ค. ๋ณ„๋„์˜ ํผ์Šค๋„ ์„œ๋ธŒ๋„ท ์„ธํŒ…์„ ์œ„ํ•ด ์ƒˆ๋กœ VPC๋ฅผ ์ƒ์„ฑํ•˜์ž.ย ์ƒ์„ฑํ•  ๋ฆฌ์†Œ์Šค ์˜ต์…˜ ์ค‘ VPC๋งŒ/VPC ๋“ฑ ๋‘ ๊ฐ€์ง€๊ฐ€ ์žˆ๋Š”๋ฐ, private subnet์— RDS๋ฅผ ๋‘๋ ค๋ฉด ๋ฐ˜๋“œ์‹œ ํ›„์ž๋ฅผ ์„ ํƒํ•ด์•ผ ํ•œ๋‹ค. RDS ์ƒ์„ฑ ์‹œ์—๋„ RDS subnet์„ ์„ธํŒ…ํ•˜๊ฒŒ ๋˜๋Š”๋ฐ ์ด๋•Œ subnet์€ ๋‘ ๊ฐœ ์ด..
wono | discuss |
it ops aws keypair

AWS์˜ ํ‚คํŽ˜์–ด ์ดํ•ด: EC2 ์ ‘์† Key Pair๋กœ ํ•˜๋Š” ์ด์œ 

ใ€Ž '๋ฐ์ด๋„'์˜ ์ปจํ…์ธ ์— ํฌํ•จ๋œ ์ •๋ณด๋Š”? ใ€ย EC2 ์„œ๋ฒ„์— ์ ‘์†ํ–ˆ๋‹ค๋ฉด pem ํ‚ค, ํ˜น์€ ppk๋ฅผ ์‚ฌ์šฉํ•ด ๋ณด์…จ์„ ํ…๋ฐ์š”. ๊ทธ๊ฒŒ ๋ฐ”๋กœ ํ‚คํŽ˜์–ด๋ฅผ ์ด์šฉํ•œ ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค. AWS EC2์—์„œ ์ž‘์—…ํ•  ๋•Œ ๋ณด์•ˆ์ด ๊ฐ€์žฅ ์ค‘์š”ํ•œ๋ฐ์š”. EC2 ์ ‘๊ทผ์„ ๋ณดํ˜ธํ•˜๋Š” ๋ฐฉ๋ฒ• ์ค‘ ํ•˜๋‚˜๊ฐ€ ํ‚คํŽ˜์–ด(Key Pairs)๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค. ๊ทธ๋ ‡๋‹ค๋ฉด ํ‚คํŽ˜์–ด๊ฐ€ ๋ฌด์—‡์ธ์ง€, ์™œ ์ค‘์š”ํ•œ์ง€, ์–ด๋–ค ์›๋ฆฌ์— ์˜ํ•ด ์‚ฌ์šฉํ•˜๋Š”์ง€ ์•Œ์•„๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.ย  ย EC2 ํ‚คํŽ˜์–ด(Key Pairs)์ด๋ž€?ํ‚คํŽ˜์–ด๋Š” EC2 ์ธ์Šคํ„ด์Šค์— ์—ฐ๊ฒฐํ•  ๋•Œ ๋‚˜๋ฅผ ์ฆ๋ช…ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, ์„œ๋ฒ„์—์„œ ์ƒ์„ฑํ•ด์„œ ์ „๋‹ฌํ•œ ๊ฐœ์ธ ํ‚ค๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ์œผ๋ฉด ์ ‘์†์„ ํ—ˆ๋ฝํ•ฉ๋‹ˆ๋‹ค. ์„œ๋ฒ„์— ์žˆ๋Š” ๊ณต๊ฐœ ํ‚ค๋ฅผ ์˜คํ”ˆ ํ•  ์ˆ˜ ์žˆ๋Š” ๊ฐœ์ธ ํ‚ค์ธ๊ฑฐ์ฃ . ์ด๋ฅผ ์–ด๋ ค์šด ๋ง๋กœ ๋ณตํ˜ธํ™” ํ•œ๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.Linux์—์„œ๋Š” ๊ธฐ๋ณธ ์‚ฌ์šฉ์ž(ec2..
wono | discuss |
it ops aws keypair

๋ฐฑ์—”๋“œ, ์•„๋ฌด๊ฒƒ๋„ ๋ชฐ๋ผ์š” (์‹ค์ŠตํŽธ) - (1) AWS๋กœ ์„œ๋ฒ„ ์ปดํ“จํ„ฐ ์…‹์—…

if ๋ฐฑ์—”๋“œ_์ง€์‹ == None: come_in("์‹ค์Šต - (1) AWS๋กœ ์„œ๋ฒ„ ์ปดํ“จํ„ฐ ์…‹์—…")
wono | discuss |
it ops aws ec2 ami

[AWS] AWS Tech camp ๊ธฐ์ดˆ์‹ค์Šต : AMI ์ƒ์„ฑ ๋ฐฉ๋ฒ•

AWS AMI ์ƒ์„ฑ ๋ฐฉ๋ฒ• ์ด์ „ ๊ธ€์—์„œ EC2๋ฅผ ์ƒ์„ฑํ–ˆ์œผ๋‹ˆ, ์ด๋ฒˆ์—” AMI๋ฅผ ์ƒ์„ฑํ•ด๋ณด์ž. AMI(Amazon Machine Image)๋Š” EC2 ์„ค์ •๊ณผ ์—ฐ๊ฒฐ๋œ EBS Volume(๊ฐ„๋‹จํ•˜๊ฒŒ ์Šคํ† ๋ฆฌ์ง€์ž„)์— ๋Œ€ํ•œ ๋ชจ๋“  ์ •๋ณด๋ฅผ ๋ฐฑ์—…ํ•˜๋Š” ๊ธฐ๋Šฅ์ด๋ผ ์ƒ๊ฐํ•˜๋ฉด ๋œ๋‹ค. ์ œ์ผ ๋‹จ์ˆœํ•˜๊ฒŒ ์ƒ๊ฐํ•˜๋ฉด AMI = ๋ฐฑ์—… ์ด๋‹ค. 1. ์ด๋ฏธ์ง€๋ฅผ ๋งŒ๋“ค EC2๋ฅผ ์„ ํƒํ•œ ๋’ค, [์ž‘์—…] - [์ด๋ฏธ์ง€ ๋ฐ ํ…œํ”Œ๋ฆฟ] - [์ด๋ฏธ์ง€ ์ƒ์„ฑ]์„ ํด๋ฆญํ•œ๋‹ค. 2. ์ด๋ฏธ์ง€ ์ด๋ฆ„์„ ์ž…๋ ฅํ•˜๊ณ  ํ•˜๋‹จ์˜ ์ด๋ฏธ์ง€ ์ƒ์„ฑ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•œ๋‹ค. 3. ์ƒ์„ฑ ํ›„ [์ด๋ฏธ์ง€] - [AMI]๋ฅผ ํด๋ฆญํ•˜๋ฉด ์ƒ์„ฑํ•œ ์ด๋ฏธ์ง€๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. ์–ด๋•Œ์š”? ์ฐธ ์‰ฝ์ฃ ? AMI์œผ๋กœ ์ธ์Šคํ„ด์Šค ์ƒ์„ฑ ๋ฐฉ๋ฒ• ์ด์ œ ๋ฐฑ์—…์„ ํ•ด๋ดค์œผ๋‹ˆ ํ•œ๋ฒˆ ์‚ฌ์šฉํ•ด๋ณด์ž. 1. ์ƒ์„ฑํ•œ AMI์˜ ์ƒํƒœ๊ฐ€ [์‚ฌ์šฉ๊ฐ€๋Šฅ]์ธ์ง€ ํ™•์ธํ•œ๋‹ค. ์‚ฌ์šฉ ๊ฐ€๋Šฅ์ด..
wono | discuss |
it ops aws ami

[AWS] AMI๋ž€?? ์‰ฝ๊ฒŒ ์ •๋ฆฌ (Amazon Machine Image)

โ—‡ย  ๊ณต๋ถ€ ๊ธฐ๋ก์šฉ์œผ๋กœ ์ž‘์„ฑํ•˜์˜€์œผ๋‹ˆ ํ‹€๋ฆฐ์ , ํ”ผ๋“œ๋ฐฑ ์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹คย โ—‡ย ย AMI (Amazon Machine Image)AMI๋Š” EC2 ์ธ์Šคํ„ด์Šค๋ฅผ ์‹œ์ž‘ํ•  ๋•Œ ํ•„์š”ํ•œ ์šด์˜ ์ฒด์ œ(OS), ๋ฏธ๋“ค์›จ์–ด, Volume๋“ฑ์˜ ์„ค์ •์„ ์ •์˜ํ•œ๋‹ค.EC2ย ์ธ์Šคํ„ด์Šค๋Š”ย ์‚ฌ์šฉ์ž๊ฐ€ย ์„ ํƒํ•œย AMI๋ฅผย ๊ธฐ๋ฐ˜์œผ๋กœย ์ƒ์„ฑ๋œ๋‹ค.์ฆ‰, EC2๋ฅผ ์‹œ์ž‘ํ•˜๊ธฐ์œ„ํ•ด ํ•„์š”ํ•œ ์ •๋ณด๋ฅผ ์ €์žฅํ•œ ํ…œํ”Œ๋ฆฟ๊ณผย ๊ฐ™๋‹ค.(AMI์— ํฌํ•จ๋˜์ง€ ์•Š์€ ์„œ๋ฒ„ ๊ณ ์œ ์˜ OS๋‚˜ ๋ฏธ๋“ค์›จ์–ด๋Š” ๋ณ„๋„๋กœ ์„ค์น˜ํ•ด์•ผ ํ•œ๋‹ค)ย ย AMI์—๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ •๋ณด๊ฐ€ ํฌํ•จ๋œ๋‹ค.์šด์˜ ์ฒด์ œ (OS): ์˜ˆ์‹œ) Linux, Windows์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์†Œํ”„ํŠธ์›จ์–ด: ์˜ˆ์‹œ) Apache, Nginx, MySQL, PostgreSQL๋ฃจํŠธย ๋ณผ๋ฅจย (Rootย Volume): EC2 ์ธ์Šคํ„ด์Šค๊ฐ€ ์‹œ์ž‘๋˜๋Š” ๋ฉ”์ธ ๋””์Šคํฌ (EBS or In..
wono | discuss |
it ops aws ec2 ami

[EC2] AMI(Amazon Machine Image)๋กœ ์ธ์Šคํ„ด์Šค ์ƒ์„ฑ ๋ฐ ๋ฐฑ์—…ํ•˜๊ธฐ

AMI(Amazon Machine Image)๋ž€?AMI(Amazon Machine Image)๋Š” ์ธ์Šคํ„ด์Šค๋ฅผ ์ƒ์„ฑํ•˜๊ธฐ ์œ„ํ•œ ์ด๋ฏธ์ง€์ž…๋‹ˆ๋‹ค.๊ธฐ์กด์˜ ์‚ฌ์šฉํ–ˆ๋˜ ์ธ์Šคํ„ด์Šค์˜ ํ™˜๊ฒฝ(์šด์˜ ์ฒด์ œ(OS), ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์„œ๋ฒ„, ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜, ๊ตฌ์„ฑ ์„ค์ •, ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋“ฑ)์„ ๊ทธ๋Œ€๋กœ ์ด๋ฏธ์ง€๋กœ ์บก์ฒ˜ํ•ด์„œ ์ƒˆ๋กœ์šด ์ธ์Šคํ„ด์Šค๋ฅผ ๋งŒ๋“ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.์ด๋ฅผ ํ†ตํ•ด ์‚ฌ์šฉ์ž๋Š” ํŠน์ • ํ™˜๊ฒฝ์ด ๋ฏธ๋ฆฌ ๊ตฌ์„ฑ๋œ ์ธ์Šคํ„ด์Šค๋ฅผ ์‰ฝ๊ณ  ๋น ๋ฅด๊ฒŒ ์‹œ์ž‘ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.AMI์˜ ์šฉ๋„1. ์ธ์Šคํ„ด์Šค ๋ณต์ œAMI๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ๊ธฐ์กด์˜ ์‚ฌ์šฉํ–ˆ๋˜ EC2 ์ธ์Šคํ„ด์Šค ํ™˜๊ฒฝ์„ ๊ทธ๋Œ€๋กœ ๋ณต์ œํ•˜์—ฌ ์ƒˆ๋กœ์šด ์ธ์Šคํ„ด์Šค๋ฅผ ์ƒ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.์ด๋Š” ๋‹ค์–‘ํ•œ ํ™˜๊ฒฝ(๊ฐœ๋ฐœ, ํ…Œ์ŠคํŠธ, ํ”„๋กœ๋•์…˜)์—์„œ์˜ ์ผ๊ด€๋œ ์„ค์ •์„ ์œ ์ง€ํ•˜๋Š” ๋ฐ ๋งค์šฐ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค.2. ๋ฐฑ์—… ๋ฐ ๋ณต๊ตฌ์ธ์Šคํ„ด์Šค์˜ ํ˜„์žฌ ์ƒํƒœ๋ฅผ AMI๋กœ ์บก์ฒ˜ํ•˜์—ฌ ๋ฐฑ์—…์œผ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ..
wono | discuss |
it ops aws ec2 ami

[AWS] EC2 ์ธ์Šคํ„ด์Šค๋กœ AMI๋ฅผ ๋งŒ๋“œ๋Š” ๋ฐฉ๋ฒ•

EC2 ์ธ์Šคํ„ด์Šค๋กœ AMI๋ฅผ ๋งŒ๋“œ๋Š” ๋ฐฉ๋ฒ• AWS EC2 ์ธ์Šคํ„ด์Šค๋กœ AMI ์ด๋ฏธ์ง€(์‚ฌ์ง„ ์•„๋‹˜)๋ฅผ ๋งŒ๋“ค์–ด๋ณด์ž. AWS AMI๋ž€? AMI(Amazon Machine Image)๋Š” AWS ํ™˜๊ฒฝ์—์„œ ๊ฐ€์ƒ ๋จธ์‹ ์„ ์ƒ์„ฑํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋˜๋Š” ์ด๋ฏธ์ง€์ด๋‹ค. AMI๋Š” ๊ฐ€์ƒ ์„œ๋ฒ„์˜ ๊ธฐ๋ณธ ๊ตฌ์„ฑ, ์šด์˜ ์ฒด์ œ, ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ฐ ๋ฐ์ดํ„ฐ๋ฅผ ์ •์˜ํ•œ๋‹ค. ๊ฐ„๋‹จํžˆ ๋งํ•ด AMI๋Š” ๊ฐ€์ƒ ๋จธ์‹ ์„ ์‹œ์ž‘ํ•˜๊ธฐ ์œ„ํ•œ ํ…œํ”Œ๋ฆฟ์œผ๋กœ ๋ณผ ์ˆ˜ ์žˆ๋‹ค. ์ด๋ฏธ์ง€ ๋งŒ๋“ค๊ธฐ EC2 ์ฝ˜์†”๋กœ ์ ‘์†ํ•˜์—ฌ ๋ฒ ์ด์Šค ์ด๋ฏธ์ง€๋กœ ๋งŒ๋“ค๊ณ  ์‹ถ์€ EC2 ์ธ์Šคํ„ด์Šค๋ฅผ ์„ ํƒํ•œ๋‹ค. ์ธ์Šคํ„ด์Šค๋ฅผ ์„ ํƒํ•˜๊ณ  ์ด๋ฏธ์ง€ ๋ฐ ํ…œํ”Œ๋ฆฟ > ์ด๋ฏธ์ง€ ์ƒ์„ฑ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•œ๋‹ค. ์—ฌ๊ธฐ๊ฐ€ ์ œ์ผ ์ค‘์š”ํ•˜๋‹ค. ์ด๋ฏธ์ง€์— ๋Œ€ํ•œ ์ •๋ณด์™€ ์ƒ์„ฑ ์ „๋žต์„ ์„ ํƒํ•œ๋‹ค. + ์›๋ž˜ EC2 ์ธ์Šคํ„ด์Šค๋ฅผ ์•ˆ์ „ํ•˜๊ฒŒ ์ด๋ฏธ์ง€ํ™” ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” EC2 ์ธ์Šคํ„ด์Šค๋ฅผ ์ค‘์ง€ํ•˜๊ณ  ์ด..
wono | discuss |
it ops aws ec2 ami

[AWS] EC2 ์ธ์Šคํ„ด์Šค ์ค‘์ง€ ์—†์ด AMI๋ฅผ ์ƒ์„ฑํ•˜๋Š” ๋ฐฉ๋ฒ•

wono | discuss |
it ops aws domain route53

AWS๋กœ ๋ฐฐํฌํ•˜๊ธฐ (EC2 ์„œ๋ฒ„ + AWS Route 53 ๋„๋ฉ”์ธ ์—ฐ๊ฒฐ + HTTPS ์ธ์ฆ์„œ ๋“ฑ๋ก)

EC2 ์„œ๋ฒ„๋ฅผ ํ”„๋ฆฌํ‹ฐ์–ด์—์„œ t3.medium์œผ๋กœ ์˜ฎ๊ธด ์ด์œ  EC2 ์„œ๋ฒ„ ํผ๋ธ”๋ฆญ IP ๊ณ ์ •ํ•˜๊ธฐ EC2 ์„œ๋ฒ„ ํฌํŠธ ํฌ์›Œ๋”ฉ ๋„๋ฉ”์ธ๊ณผ EC2์„œ๋ฒ„ ์—ฐ๊ฒฐํ•˜๊ธฐ HTTPS ์ธ์ฆ์„œ๋กœ ๋„๋ฉ”์ธ
wono | discuss |
it ops aws dns domain route53

[AWS] ๐Ÿ“š Route53 ๊ฐœ๋… ์›๋ฆฌ & ์‚ฌ์šฉ ์„ธํŒ… ๐Ÿ’ฏ ์ •๋ฆฌ

Route 53 Amazon Route 53 ์€ ๊ฐ€์šฉ์„ฑ๊ณผ ํ™•์žฅ์„ฑ์ด ๋›ฐ์–ด๋‚œ ํด๋ผ์šฐ๋“œ Domain Name System (DNS) ์›น ์„œ๋น„์Šค์ด๋‹ค. Route 53๋Š” ๋„๋ฉ”์ธ ๊ตฌ์ž…๋ถ€ํ„ฐ ๋„ค์ž„์„œ๋ฒ„ ๋“ฑ๋ก๊นŒ์ง€ dns์— ํ•„์š”ํ•œ ๋ชจ๋“  ๊ธฐ๋Šฅ์ด ์žˆ๊ณ , aws ๋‹ต๊ฒŒ ์ถ”๊ฐ€๋กœ ๋ชจ๋‹ˆํ„ฐ๋ง ๊ธฐ๋Šฅ๊นŒ์ง€ ์ œ๊ณตํ•œ๋‹ค. ๋‹ค๋ฅธ ๋„๋ฉ”์ธ ๋“ฑ๋ก ๊ธฐ๊ด€(๊ฐ€๋น„์•„, ํ›„์ด์ฆˆ ๋“ฑ) ์— ๋น„ํ•ด ๊ฐ€๊ฒฉ์ด ๋น„์Šทํ•˜๊ฑฐ๋‚˜ ์ €๋ ดํ•˜๊ณ , ๋“ฑ๋ก ์™ธ์— ๋ถ€๊ฐ€์ ์ธ ๊ธฐ๋Šฅ ์ œ๊ณต ๋ฐ ์•ˆ์ •์„ฑ, GUI๋ฅผ ์ œ๊ณตํ•ด ๊ด€๋ฆฌ๊ฐ€ ์ˆ˜์›”ํ•˜๋‹ค. ๋˜ํ•œ, Route 53 ์€ ์‚ฌ์šฉ์ž์˜ ์š”์ฒญ์„ Amazon EC2 ์ธ์Šคํ„ด์Šค, Elastic Load Balancing ๋กœ๋“œ ๋ฐธ๋Ÿฐ์„œ, Amazon S3 ๋ฒ„ํ‚ท ๋“ฑ AWS ์—์„œ ์‹คํ–‰๋˜๋Š” ์ธํ”„๋ผ์— ํšจ๊ณผ์ ์œผ๋กœ ์—ฐ๊ฒฐํ•˜๊ณ , AWS ์™ธ๋ถ€์˜ ์ธํ”„๋ผ๋กœ ๋ผ์šฐํŒ…ํ•˜๋Š”๋ฐ๋„ Route 53 ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•˜..
wono | discuss |
it ops aws s3 purl

[AWS] ๐Ÿ“š S3 Pre-signed URL ๊ณต์œ ํ•˜๊ธฐ

S3 Pre-signed URL ๊ณต์œ  ๋งŒ์ผ ์ด์šฉ์ž๋“ค์ด S3 ๋ฒ„ํ‚ท์— public์—์„œ ์ ‘๊ทผํ•ด์„œ object๋ฅผ ๋‹ค์šด๋ฐ›๊ฑฐ๋‚˜ ์—…๋กœ๋“œ ํ•˜๊ฒŒ ์„ค์ •ํ•ด์•ผ ํ•˜๋Š” ๊ฒฝ์šฐ, ๋ณดํ†ต ๋‘๊ฐ€์ง€ ๋ฐฉ๋ฒ•์ด ์žˆ๋‹ค. 1. ๋ชจ๋“  ํŒŒ์ผ์„ ํผ๋ธ”๋ฆญ์œผ๋กœ ๋งŒ๋“ค๊ธฐ ์žฅ์  : ๋ณ„๋„์˜ ๊ด€๋ฆฌ๊ฐ€ ํ•„์š”์—†์Œ ๋‹จ์  : ์•„๋ฌด๋‚˜ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ ๊ฐ€๋Šฅ (๋ณด์•ˆ ๋ฌธ์ œ) 2. IAM ์ž๊ฒฉ์ฆ๋ช… ๊ณต์œ  (Access Key Pair) ์žฅ์  : ์ง€์ •ํ•œ ์‚ฌ๋žŒ๋งŒ ๊ณต์œ  ๊ฐ€๋Šฅ ๋‹จ์  : ์ž๊ฒฉ์ฆ๋ช… ์œ ์ถœ/๋ณ€๊ฒฝ ์‹œ ๊ณต์œ ์ž ๋ชจ๋‘์—๊ฒŒ ๋‹ค์‹œ ๋ถ€์—ฌ ํ•„์š”ํ•˜๊ณ  ๊ด€๋ฆฌ ์ž์ฒด๊ฐ€ ๋นก์Œ”๋‹ค. 3. IAM ์‚ฌ์šฉ์ž ๋ถ€์—ฌํ•˜๊ธฐ (Role) ์žฅ์  : ์ง€์ •ํ•œ ์‚ฌ๋žŒ๋งŒ ๊ณต์œ  ๊ฐ€๋Šฅ ๋‹จ์  : IAM ์‚ฌ์šฉ์ž ์ˆซ์ž ์ œํ•œ (5000๊ฐœ), ๋ถ€์—ฌํ•˜๋Š” ๊ณผ์ •๊ณผ ์œ ์ง€๋ณด์ˆ˜์˜ ์–ด๋ ค์›€ ์ด์ฒ˜๋Ÿผ, ๋ฒ„ํ‚ท ์ž์ฒด๋ฅผ public์œผ๋กœ ์—ด๊ธฐ์—” ๋ถ€๋‹ด์Šค๋Ÿฝ๊ณ , ๊ทธ๋ ‡๋‹ค๊ณ  ์ด์šฉ์ž์—๊ฒŒ..
wono | discuss |
Next
© 2025. LINKTAG.ORG. Help Feedback Privacy Terms