Skip to content

「外部公開しているNLB1つだけでプライベートなアクセス経路も確保する」ブログのリポジトリです。

Notifications You must be signed in to change notification settings

Keisuke-Hiraki/secure-private-access-with-single-public-nlb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

secure-private-access-with-single-public-nlb

外部公開している NLB 1 台だけでプライベートなアクセス経路も確保する | DevelopersIO ブログのリポジトリです。

前提条件

  • AWSアカウントを持っていること
  • Terraformの実行環境があること

リソース

下記リソースをデプロイします。

  • VPC
    • main用VPC
    • PrivateLink用VPC
    • プライベートアクセス用VPC
  • Subnet(Public/Private)
  • Route Table
  • Internet Gateway
  • Nat Gateway
  • EC2
    • webサーバー
    • プライベートアクセス用サーバー
  • EC2 Instance Connect Endpoint
  • Network Load Balancer
  • エンドポイントサービス
  • インターフェイス型VPCエンドポイント
  • VPCピアリング

構成図

セットアップ手順

クローン

git clone https://github.com/Keisuke-Hiraki/secure-private-access-with-single-public-nlb.git

初期化

terraform init

作成

terraform apply

削除

terraform destroy

About

「外部公開しているNLB1つだけでプライベートなアクセス経路も確保する」ブログのリポジトリです。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages