Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Amazon VPC Deep Dive: ENI 를 알면 VPC 가 보인다

Taewoo Kim
November 17, 2020

Amazon VPC Deep Dive: ENI 를 알면 VPC 가 보인다

AWSKRUG 구로디지털단지모임 40회차 발표자료입니다.

Taewoo Kim

November 17, 2020
Tweet

More Decks by Taewoo Kim

Other Decks in Technology

Transcript

  1. Amazon VPC Deep Dive : ENI ܳ ঌݶ VPC о

    ࠁੋ׮ #AWSKRUGҳ٣ݽ੐ ߊ಴੗ : ӣక਋
  2. ߊ಴੗ ࣗѐ •AWS Solutions Architect @classmethod •2020 APN AWS Top

    Engineers •12x AWS Certified https://dev.classmethod.jp/author/kim-taewoo/ ೠҴয & ੌࠄয ӝࣿ࠶۽Ӓ I Serverless on AWS
  3. ߊ಴ղਊী ؀ೞৈ • ࠄ ߊ಴੗ܐח ૑դߣ ҳ٣ݽ੐ী ੉যࢲ ѐߊ੗ٜਸ ؀࢚ਵ۽

    AWS ੄ ֎౟ਕ௼ܳ ખ ؊ Ө੉ ঌইࠁ੗ח ஂ૑۽ ӝദػ ੗ܐੑפ׮. • ੷ח ֎౟ਕ௼ ࠙ঠ੄ ੹ޙоо ইשਸ ߋ൩פ׮. • ߊ಴੗੄ ੌߑ੸ੋ ૑ध੹׳ࠁ׮ب, ࠄ ߊ಴੗ܐܳ ӝ߈ਵ۽ ֎౟ਕ௼ ੹ޙоٜ࠙੄ ଵৈܳ ਬ بೞҊ, ੄Ѽ Үܨܳ ా೧ ׮э੉ ؊ ߓਕо੗ח ஂ૑۽ ٜ݅য૓ ੗ܐੑפ׮. • Ӓ۞޲۽, ֎౟ਕ௼ ূ૑פয ߂ ੋ೐ۄ ূ૑פয ҙ੼ীࢲ੄ Deep Dive о ইק ࣻب ੓਺ী ޷ܻ ন೧ܳ ҳ೤פ׮.
  4. ENI (Elastic Network Interface) • VPC ীࢲ о࢚ ֎౟ਕ௼஠٘ী ೧׼ೞח

    ѐ֛ਵ۽, VPC উ੄ ೐ۄ੉ࡁ IP ߧਤী ࣘೞח IP ઱ࣗܳ ೠѐ ੉࢚ о૕ ࣻ ੓׮. (Primary, Secondary) • EIP (Elastic IP) ܳ associate दெࢲ ಌ࠶ܼ IP ب о૕ ࣻ ੓׮. • Security Group ੉ attach غח ؀࢚ - Security Group ਷ ENI ী ࠢח Ѫ! • MAC য٘ۨझܳ о૓׮. • Source/Destination Check ب ENI о ׸׼ೠ׮. • VPC Flow Logs ب ENI ܳ ӝ߈ਵ۽ ࢤࢿػ׮.
  5. Ӕؘ ݈੉ঠ…. ੉ۧѱ рױೠ ENI ܳ ইחѢی VPC ܳ ؊

    ੜ ੉೧ೞחѢی ޖट ࢚ҙ੉ ੓חؘ???
  6. Lambda Lambda ب э਷ VPC э਷ ࢲ࠳֔ী ֬ਵݶ غ۰ա..? (

    જ૑ ঋ਷ ࢲ࠳֔ ҳࢿ੐ী ઱੄! )
  7. Lambda Hyperplane • AWS ղࠗীࢲ ࢎਊغח ۽٘ߖ۠य ࢲ࠺झ • S3

    API ੄ ۽٘ߖ۠ࢲо ӝ߈ • EFS ীࢲח ୡӝࠗఠ ࢎਊغҊ ੓਺ • ׮নೠ ࢲ࠺झী ੉ਊغӝ द੘ • API Gateway ੄ VPC Link, NLB, NAT Gateway • ӒܻҊ… VPC Lambda
  8. Lambda Hyperplane • ࢎप Ӓր EC2 ੋझఢझ੄ Fleet ҳࢿੌ ࡺ!

    • ೙ਃী ٮۄ ঌইࢲ झாੌ স/׮਍ ߂ ੋ/ইਓ ػ׮
  9. Lambda VPC Lambda ܳ ࢸ੿ೞݶࢲ Subnet ਸ ࢶఖೞѱغחؘ, ੉ٸ ೧׼

    ࢲ࠳֔ উী ENI о ੗زਵ۽ ࢤࢿغযࢲ AWS Lambda ղࠗ੄ Hyperplane ENI ৬ োѾؽ
  10. Lambda VPC Lambda ܳ ࢸ੿ೞݶࢲ Subnet ਸ ࢶఖೞѱغחؘ, ੉ٸ ೧׼

    ࢲ࠳֔ উী ENI о ੗زਵ۽ ࢤࢿغযࢲ AWS Lambda ղࠗ੄ Hyperplane ENI ৬ োѾؽ
  11. Lambda VPC ৬ োزغח ఋ ࢲ࠺झٜী ؀ೞৈ • VPC ߂

    ࢲ࠳֔ਸ ࢶఖ೧ࢲ ղо ݅ٚ VPC ৬ োزػ׮ • ೧׼ ࢲ࠳֔ী ENI о ੗زਵ۽ ࢤࢿغҊ, ੉ܳ ా೧ VPC ղࠗ੄ ܻࣗझ৬ ాन੉ оמೞ׮!