# 2. 사전 테스트 환경 구성

## 준비물

* 전반적인 네트워크 및 AWS 서비스 개념
* AWS 계정
* Key Pair 1EA (1개로 모두 사용 예정)
* Domain (만약 Domain이 없는 경우 사용할 도메인 정보 및 bastion, web서버 정보 및 keypair 공유)

## HOL 인프라 배포&#x20;

1. yaml 파일 다운로드&#x20;

{% file src="/files/ViBUeUU67ybpFvMw0j6j" %}

2. [AWS CloudFormation](https://ap-northeast-2.console.aws.amazon.com/cloudformation/home?region=ap-northeast-2) 으로 이동
3. Create stack을 클릭<br>

   <figure><img src="/files/jk5dBcWVMx3CiQjUCQ84" alt=""><figcaption></figcaption></figure>

   * DomainName : 사용하고자 하는 도메인 이름 기입
   * Keyname : 원하는 Key를 선택
   * VPCName:  원하는 VPC 기입, (기본값) ALB-Lab
4. 이후 정상적으로 완료가 되면 Output에서 Bastion 및 서버들의 Private IP 확인이 가능합니다.

<figure><img src="/files/XHCueGdkAatjd0bEdXBc" alt=""><figcaption></figcaption></figure>

모두 생성이 되었는지 확인 후 다음 장으로 넘어갑니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://newbie.gitbook.io/quest-alb-rule/2..md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
