✌️
Studylog
See More
Studylog
Studylog
  • INTRO
  • AWS
    • AWS101
      • Virtualization and the AWS structures
      • AWS account and free-tier
      • AWS IAM
      • AWS EC2
        • EC2 basic
        • ENI and EIP
        • Elastic Block Storage
        • Auto Scaling
        • Elastic Load Balancer
  • IaC
    • Terraform
      • License Change
      • Tutorial
      • Module
      • Versioning
  • Airflow
    • Airflow-Ninja
      • Introduction and Goal
      • Tutorial: Settings
      • Tutorial: Module Import, Alert
  • Docker
    • Production with Docker
      • Customizing root directory
  • Network
    • Network-Handbook
      • Introduction and Goal
      • OSI7Layer
      • DNS
      • SSL/TLS
  • Comupter Architecture
    • Basic
      • Introduction and Goal
      • Chapter 1. The Internal Language of Computers
      • Chapter 2. Combinatorial Logic
      • Chapter 3. The Essentials of Memory and Disk Sequential Logic
    • Hands-on
      • Introduction and Goal
      • theory
        • Chapter 1. Logic Gates
        • Chapter 2. ALU
      • project
        • Project 1. Elementary logic gates implement
        • Project 2. Boolean Arithmetic
  • Java
    • Readable Code
      • 학습 목적
      • 추상화
      • 논리적 사고 흐름
      • 객체지향 이론
      • 객체지향 코드 적용하기
      • 코드 다듬기
      • 읽기 좋은 코드를 도와줄 조언들
  • Spring Boot
    • Practical Testing
      • 테스트 사전 지식
      • 스프링 레이어드 아키텍처 테스트하기
        • Persistence Layer
        • Business Layer
    • 스프링 핵심 원리 - 기본편
      • 객체 지향 설계와 스프링
      • 스프링 핵심 원리 이해
        • 예제 만들기
        • 객체 지향 원리 적용
        • 스프링 컨테이너와 스프링 빈
  • Python
    • Effective Python
      • Introduction and Goal
      • Closure: Lazy Evaluation And Eager Evaluation
      • Python public attributes are better getter-setter
      • No refactoring attribute, we can use property decorator
      • You can do it, but it means you don't have to
  • Playgrounds
    • Java Playground
      • 학습 목적
      • 숫자 야구 게임
        • 학습 테스트
        • 문자열 계산기
        • 숫자 야구 게임 구현
        • 숫자 야구 게임 다시 구현하기
      • 자동차 경주
        • 문자열 덧셈 계산기
        • 자동차 경주 미션 구현
      • 좌표 계산기
        • 연료 주입
        • 좌표 계산기 미션 구현
    • Infra Playground
      • VPC: 망분리 그리고 테스트
      • 컨테이너 사전 지식
      • 화면 성능 개선 전 학습 테스트
      • SSM: Session Manager
      • SQL, 이 정도는 알아야지 😎
      • Subway-Map
        • 망 구성하기
        • 서버 구성하기
        • 화면 성능 개선하기
      • Conference Platform
        • 망 구성하기
        • 서버 구성하기
        • 화면 성능 개선하기
  • Tools
    • SOPS
    • Bruno
    • 🖥️FCK-NAT
    • 🧊Pulumi
Powered by GitBook
On this page
  1. Playgrounds
  2. Infra Playground
  3. Conference Platform

망 구성하기

AWS에서 신규 망을 생성하여 DMZ와 INSIDE 분리

PreviousConference PlatformNext서버 구성하기

Last updated 4 months ago

VPC를 생성하고 외부망과 내부망을 나누며 필요한 아이피 대역을 서브넷팅 한 기본 논리적 구조를 생성합니다.

망 구성 카테고리

  • VPC

  • Subnets

  • Security Groups

  • Internet Gateway

  • Nat Gateway

  • Route Tables

VPC


TODO

  • C Class CIDR VPC 생성


NAME
CIDR

infraworkshop-apne2

192.168.10.0/24

Subnets


TODO

  • 외부망으로 사용할 Subnet : 64개씩 2개 (AZ를 다르게 구성)

    • 외부망은 인터넷 구간과 통신 가능

  • 내부망으로 사용할 Subnet : 32개씩 1개

    • 내부망에서만 인터넷 접근 가능

  • 관리용으로 사용할 Subnet : 32개씩 1개 (system manager를 사용한다면 별도의 관리망 없이 내부망 2개로 구성, 보안그룹도 상황에 맞게 구성)


PURPOSE
NAME
CIDR
AZ

external

infraworkshop-apne2-public-subnet-a

192.168.10.0/26

ap-northeast-2a

external

infraworkshop-apne2-public-subnet-c

192.168.10.64/26

ap-northeast-2c

internal

infraworkshop-apne2-private-subnet-a

192.168.10.128/27

ap-northeast-2a

management

infraworkshop-apne2-private-subnet-c

192.168.10.160/27

ap-northeast-2c

Security Groups


TODO

  • 외부망

    • 전체 대역 : 443 포트 오픈

    • 관리망 : 22번 포트 오픈

  • 내부망

    • 외부망 : 3306 포트 오픈

    • 관리망 : 22번 포트 오픈

  • 관리망

    • 자신의 로컬 PC 공인 IP : 22번 포트 오픈

PURPOSE
NAME
INBOUND
OUTBOUND

external

infraworkshop-apne2-external-permit-security-group

"0.0.0.0:ICMP", "0.0.0.0/0:443", infraworkshop-apne2-admin-permit-security-group:22

0.0.0.0/0:0

internal

infraworkshop-apne2-public-subnet-c

"0.0.0.0:ICMP", infraworkshop-apne2-external-permit-security-group:3306, infraworkshop-apne2-admin-permit-security-group:22

0.0.0.0/0:0

management

infraworkshop-apne2-admin-permit-security-group

my local IP/32:22

0.0.0.0/0:0

Internet Gateway


TODO

  • 인터넷 게이트웨이는 퍼블릭 IP 주소를 지닌 인스턴스를 인터넷과 연결하면 인터넷에서 들어오는 요청을 수신할 수 있도록 해보아요.

PURPOSE
NAME
DESTINATION
VPC

external

infraworkshop-apne2-igw

0.0.0.0

infraworkshop-apne2

Nat Gateway


TODO

  • INSIDE 존에 위치 해 있으며 외부와 통신을 못하는 환경에서 외부 인터넷 망에 있는 데이터를 요청할 수 있도록 구성해보아요.

PURPOSE
NAME
DESTINATION
VPC
CIDR

internal

infraworkshop-apne2-nat-instance

0.0.0.0

infraworkshop-apne2

192.168.10.0/24

Route Tables


PURPOSE
NAME
SUBNETS
GATEWAY

external

infraworkshop-apne2-public-route-table

infraworkshop-apne2-public-subnet-a, infraworkshop-apne2-public-subnet-c

infraworkshop-apne2-igw

internal

infraworkshop-apne2-private-route-table

infraworkshop-apne2-private-subnet-a, infraworkshop-apne2-private-subnet-c

infraworkshop-apne2-nat-instance

미션 진행 코드