IronPDF를 원격 컨테이너로 실행
IronPdfEngine은 PDF 생성, 작성, 편집 및 읽기를 처리할 수 있는 독립형 서비스입니다. IronPDF Docker는 IronPDF의 호환 버전(v2023.2.x 이상)에서 Docker 서비스를 실행할 준비가 되었습니다. 이렇게 하면 개발자들이 IronPDF 배포 과정에서 겪을 수 있는 문제를 해결하는 데 도움이 될 것입니다.
IronPDF를 자체 컨테이너로 실행하는 것이 좋은 이유
IronPDF를 사용하려면 Chrome과 PDFium 바이너리 파일이 모두 필요하며, 이 파일들의 크기는 수백 MB에 달할 정도로 매우 큽니다. 또한 이를 실행하려면 컴퓨터에 몇 가지 종속 프로그램이 설치되어 있어야 합니다.
이 방법을 사용하면 클라이언트의 용량(MB 단위)이 훨씬 작아집니다.
배포 문제 방지
모든 종속성을 제대로 포함하도록 환경/컨테이너를 구성하는 것은 어려울 수 있습니다. IronPDF Docker 컨테이너를 사용하면 IronPDF가 사전에 설치되어 작동이 _보장_되므로 배포 및 종속성 관련 문제를 모두 피할 수 있습니다.
버전
IronPDF Docker 태그는 IronPdfEngine 자체의 버전을 기반으로 합니다. 이 제품은 IronPDF 제품과 동일한 버전이 아닙니다.
각 IronPDF 버전에는 해당 IronPdfEngine 버전이 연결됩니다. 버전 번호는 IronPDF Docker 버전과 일치 해야 합니다 .
예를 들어, IronPDF for Java 버전 2023.2.1은 IronPdfEngine 버전 2023.2.1이 필요합니다. IronPdfEngine과 IronPDF 버전이 일치하지 않으면 함께 사용할 수 없습니다 .
IronPDF Docker 사용 방법
IronPDF를 설치하세요
IronPdf.Slim NuGet 패키지를 프로젝트에 추가하세요.
https://www.nuget.org/packages/IronPdf.Slim/
노트: IronPdf, IronPdf.Linux 및 IronPdf.MacOs 패키지는 모두 IronPdf.Slim을 포함합니다.
애플리케이션 크기를 줄이려면 IronPdf.Slim만 설치하는 것이 좋습니다. 패키지 IronPdf.Native.Chrome.xxx은 더 이상 사용되지 않으므로 프로젝트에서 제거할 수 있습니다.
필요한 컨테이너 버전을 확인하세요
기본적으로 Docker용 IronPDF 버전은 NuGet에 있는 IronPDF의 현재 버전과 일치합니다. 아래 코드를 사용하여 수동으로 버전을 확인할 수 있습니다.
string ironPdfEngineVersion = IronPdf.Installation.IronPdfEngineVersion;Dim ironPdfEngineVersion As String = IronPdf.Installation.IronPdfEngineVersionDim ironPdfEngineVersion As String = IronPdf.Installation.IronPdfEngineVersionDocker 컨테이너용 IronPDF 설정
Docker Compose 없이
이전 단계에서 확인한 버전을 사용하여 Docker 컨테이너를 실행합니다.
- Docker가 설치되어 있어야 합니다.
설정
- https://hub.docker.com/r/ironsoftwareofficial/ironpdfengine로 이동합니다.
- ironsoftwareofficial/ironpdfengine의 최신 이미지를 다운로드하세요.
docker pull ironsoftwareofficial/ironpdfengine
또는 특정 버전을 다운로드하세요(권장).
docker pull ironsoftwareofficial/ironpdfengine:2026.7.2
- ironsoftwareofficial/ironpdfengine 컨테이너를 실행합니다.
이 명령은 컨테이너를 생성하고 33350번 포트에서 백그라운드로 실행합니다.
docker run -d -p 33350:33350 -e IRONPDF_ENGINE_LICENSE_KEY=MY_LICENSE_KEY ironsoftwareofficial/ironpdfengine:2026.7.2
IronPdfEngine 런타임 매개변수는 어떻게 설정하나요?
실행 매개변수는 이미지 이름 뒤에 key=value 쌍으로 컨테이너에 직접 전달할 수 있습니다. 이들은 이미지를 다시 빌드하지 않고도 엔진의 동작을 구성합니다.
docker run -d -p 33350:33350 ironsoftwareofficial/ironpdfengine:2026.7.2 \
license_key="YOUR_LICENSE_KEY" \
enable_debug=true \
chrome_browser_limit=8
다음 매개변수를 사용할 수 있습니다:
| 매개변수 | 유형 | Default | 설명 |
|---|---|---|---|
port | int | 33350 | gRPC 수신 포트 |
license_key | string | - | IronPDF 라이선스 키 |
enable_debug | bool | false | 전체 디버그 로깅 활성화 |
log_path | path | - | 로그 파일 경로 (전체 디버그 로깅도 활성화됨) |
logging_mode | string | Console | 로깅 모드: 없음, 콘솔, 사용자 지정, 디버그 출력 창, 파일, 모두 |
chrome_browser_limit | int | - | 최대 동시 Chrome 브라우저 인스턴스 수 |
chrome_cache_path | path | - | Chrome 브라우저 캐시 디렉터리 |
chrome_gpu_mode | int | 0 | GPU 모드: 0 비활성화, 1 하드웨어, 2 하드웨어 전체, 3 소프트웨어 |
chrome_custom_deployment_dir | path | - | Chrome 배포 바이너리용 사용자 지정 디렉터리 |
temp_folder_path | path | - | 임시 디렉터리 재정의 |
skip_shutdown | bool | false | 유휴 상태일 때 엔진이 꺼지지 않도록 방지 |
skip_initialization | bool | false | 시작 시 Chrome/Pdfium 초기화 건너뛰기 |
keep_alive | bool | false | 클라이언트 연결이 끊어진 후에도 엔진 계속 실행 |
single_process | bool | - | Chrome을 단일 프로세스 모드로 실행 |
linux_and_docker_auto_config | bool | true | Linux/Docker 종속성 자동 구성 (Docker 엔트리포인트에 의해 자동으로 설정됨) |
send_anonymous_analytics_and_crash_data | bool | - | 익명 텔레메트리 활성화 또는 비활성화 |
linux_and_docker_auto_config 매개변수가 자동으로 true로 설정됩니다. 수동으로 제출하실 필요는 없습니다. chrome_gpu_mode는 호스트가 GPU 패스스루를 제공하지 않는 한 Docker에서 0(비활성화)로 유지되어야 합니다.IRONPDF_ENGINE_LICENSE_KEY 환경 변수는 Docker Compose에서 -e 또는 environment:을 통해 라이선스 키를 설정하는데도 사용할 수 있습니다. 명령줄 매개변수와 환경 변수가 모두 설정된 경우, 명령줄 매개변수가 우선 적용됩니다.
번역 예시:
docker run -d --restart=unless-stopped \
-p 33350:33350 \
-e IRONPDF_ENGINE_LICENSE_KEY=MY_KEY \
ironsoftwareofficial/ironpdfengine \
chrome_browser_limit=8 skip_shutdown=true
디버깅 예시:
docker run -p 33350:33350 \
ironsoftwareofficial/ironpdfengine \
enable_debug=true log_path=/app/logs/engine.log
Docker Compose를 사용하면
핵심은 IronPdfEngine과 애플리케이션이 서로를 인식할 수 있도록 Docker 네트워크를 설정하는 것입니다. 'depends_on'을 설정하여 애플리케이션이 시작되기 전에 IronPdfEngine이 실행 중이도록 하십시오.
설정
-
docker-compose.yml파일을 생성하여 시작합니다. 다음 템플릿을 사용하여 Docker Compose 파일을 설정합니다:version: '3.6' services: myironpdfengine: container_name: ironpdfengine image: ironsoftwareofficial/ironpdfengine:latest ports: - '33350:33350' networks: - ironpdf-network myconsoleapp: container_name: myconsoleapp build: # enter YOUR project directory path here context: ./MyConsoleApp/ # enter YOUR dockerfile name here, relative to project directory dockerfile: Dockerfile networks: - ironpdf-network depends_on: myironpdfengine: condition: service_started networks: ironpdf-network: driver: 'bridge'YAML -
애플리케이션(myconsoleapp) 내에서 IronPdfEngine의 주소를 "myironpdfengine:33350"으로 설정하십시오.
-
Docker Compose를 실행합니다.
docker compose up --detach --force-recreate --remove-orphans --timestampsSHELL
IronPdfEngine에 연결하세요
IronPDF 코드를 실행하세요. 이제 앱이 Docker의 IronPdfEngine과 통신합니다!
using IronPdf;
using IronPdf.GrpcLayer;
// Configure for Docker container
var config = IronPdfConnectionConfiguration.Docker;
config.Host = "localhost";
IronPdf.Installation.ConnectToIronPdfHost(config);
// Use IronPDF
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Hello IronPDF Docker!<h1>");
pdf.SaveAs("ironpdf.pdf");using IronPdf;
using IronPdf.GrpcLayer;
// Configure for Docker container
var config = IronPdfConnectionConfiguration.Docker;
config.Host = "localhost";
IronPdf.Installation.ConnectToIronPdfHost(config);
// Use IronPDF
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Hello IronPDF Docker!<h1>");
pdf.SaveAs("ironpdf.pdf");Imports IronPdf
Imports IronPdf.GrpcLayer
' Configure for Docker container
Private config = IronPdfConnectionConfiguration.Docker
config.Host = "localhost"
IronPdf.Installation.ConnectToIronPdfHost(config)
' Use IronPDF
Dim renderer As New ChromePdfRenderer()
Dim pdf As PdfDocument = renderer.RenderHtmlAsPdf("<h1>Hello IronPDF Docker!<h1>")
pdf.SaveAs("ironpdf.pdf")Imports IronPdf
Imports IronPdf.GrpcLayer
' Configure for Docker container
Private config = IronPdfConnectionConfiguration.Docker
config.Host = "localhost"
IronPdf.Installation.ConnectToIronPdfHost(config)
' Use IronPDF
Dim renderer As New ChromePdfRenderer()
Dim pdf As PdfDocument = renderer.RenderHtmlAsPdf("<h1>Hello IronPDF Docker!<h1>")
pdf.SaveAs("ironpdf.pdf")연결 유형
연결하려는 유형에 따라 할당할 수 있는 여러 IronPdfConnectionType이 있습니다.
다음은 이용 가능한 부동산 목록입니다.
LocalExecutable: 로컬 컴퓨터에서 실행 가능한 IronPdfEngine '서버'에 연결하기 위해 이 옵션을 사용합니다. 간단한 예로, 클라우드 서비스를 사용하지 않고 로컬에서 PDF 파일을 생성하는 WinForm 기반 송장 발행 애플리케이션을 들 수 있습니다.
Docker: 로컬 또는 클라우드에서 Docker 컨테이너에 연결하려고 할 때 이 옵션을 사용해야 합니다.
RemoteServer: 클라우드에서 IronPdfEngine을 위한 옵션으로 사용됩니다. 이는 HTTP 또는 HTTPS 프로토콜을 통해 클라우드에서 호스팅되는(예: Docker) IronPdfEngine 인스턴스에 연결됩니다. 원격 서버에 연결하는 것이므로 전체 URL(HTTP 또는 HTTPS 프로토콜 포함)이 필요하다는 점에 유의하십시오.
Custom: 연결에 대한 전체 제어 및 맞춤화를 위해 이 옵션을 사용할 수 있습니다. 이 옵션은 위에 정의된 다른 옵션 대신 사용자가 정의한 Grpc.Core.ChannelBase를 사용합니다. 개발자는 새로운 Grpc.Core.Channel 객체를 생성하거나 gRPC 채널에 대해 맞춤형 및 완전한 제어를 위해 Grpc.Net.Client.GrpcChannel.ForAddress(System.String)을 사용할 수 있습니다.
.NET Framework와 NetFrameworkChannel
.NET Framework의 경우 gRPC가 .NET Framework 프로젝트에서 다르게 작동하기 때문에 다른 설정이 필요합니다. 이 방법이 작동하려면 Grpc.Core NuGet 패키지가 설치되어 있는지 확인하세요. 이 특정 설정을 위해 Grpc.Core.ChannelBase 에서 파생된 사용자 지정 gRPC 채널을 사용할 것입니다.
IronPDFEngine을 사용하여 PDF를 생성하고 저장하는 연결 채널을 구현하는 이 예제를 살펴보겠습니다.
<http> 또는 <https> 접두사를 제거해 보십시오.pdf.Dispose이 필요합니다.using IronPdf;
// This code demonstrates how to use IronPdf with gRPC in a .NET Framework application.
// 1. Configure connection to use local IronPdfEngine executable
var config = IronPdf.GrpcLayer.IronPdfConnectionConfiguration.Executable;
// 2. Connect to the IronPDF host with the executable configuration
IronPdf.Installation.ConnectToIronPdfHost(config);
// 3. Create a PDF renderer instance
ChromePdfRenderer renderer = new ChromePdfRenderer();
// 4. Render HTML string as PDF document
PdfDocument pdf = renderer.RenderHtmlAsPdf("Hello world");
// 5. Save the PDF to disk
pdf.SaveAs("output.pdf");
// 6. Clean up , this is needed to work
pdf.Dispose();using IronPdf;
// This code demonstrates how to use IronPdf with gRPC in a .NET Framework application.
// 1. Configure connection to use local IronPdfEngine executable
var config = IronPdf.GrpcLayer.IronPdfConnectionConfiguration.Executable;
// 2. Connect to the IronPDF host with the executable configuration
IronPdf.Installation.ConnectToIronPdfHost(config);
// 3. Create a PDF renderer instance
ChromePdfRenderer renderer = new ChromePdfRenderer();
// 4. Render HTML string as PDF document
PdfDocument pdf = renderer.RenderHtmlAsPdf("Hello world");
// 5. Save the PDF to disk
pdf.SaveAs("output.pdf");
// 6. Clean up , this is needed to work
pdf.Dispose();Imports IronPdf
' This code demonstrates how to use IronPdf with gRPC in a .NET Framework application.
' 1. Configure connection to use local IronPdfEngine executable
Dim config = IronPdf.GrpcLayer.IronPdfConnectionConfiguration.Executable
' 2. Connect to the IronPDF host with the executable configuration
IronPdf.Installation.ConnectToIronPdfHost(config)
' 3. Create a PDF renderer instance
Dim renderer As New ChromePdfRenderer()
' 4. Render HTML string as PDF document
Dim pdf As PdfDocument = renderer.RenderHtmlAsPdf("Hello world")
' 5. Save the PDF to disk
pdf.SaveAs("output.pdf")
' 6. Clean up, this is needed to work
pdf.Dispose()Imports IronPdf
' This code demonstrates how to use IronPdf with gRPC in a .NET Framework application.
' 1. Configure connection to use local IronPdfEngine executable
Dim config = IronPdf.GrpcLayer.IronPdfConnectionConfiguration.Executable
' 2. Connect to the IronPDF host with the executable configuration
IronPdf.Installation.ConnectToIronPdfHost(config)
' 3. Create a PDF renderer instance
Dim renderer As New ChromePdfRenderer()
' 4. Render HTML string as PDF document
Dim pdf As PdfDocument = renderer.RenderHtmlAsPdf("Hello world")
' 5. Save the PDF to disk
pdf.SaveAs("output.pdf")
' 6. Clean up, this is needed to work
pdf.Dispose()WithCustomChannel을 사용한 대체 방법
대안 방법은 IronPdf.GrpcLayer에서 제공하는 WithCustomChannel 방법을 활용하는 것입니다.
WithCustomChannel은 두 개의 매개변수를 받으며, 하나는 사용자 정의 gRPC 채널인 customChannel이고 다른 하나는 metadata입니다. metadata 매개변수는 선택 사항이며 기본적으로 null로 설정됩니다.
using IronPdf;
using IronPdf.GrpcLayer;
using Grpc.Core;
// 1. Create custom gRPC channel (.NET Framework style)
var channel = new Channel("123.456.7.8:80", ChannelCredentials.SecureSsl);
// 2. (Optional) Add metadata headers if needed
var metadata = new Metadata
{
{ "Authorization", "Bearer your_token_here" }
};
// 3. Configure IronPDF with custom channel
var config = IronPdfConnectionConfiguration.WithCustomChannel(channel, metadata);
IronPdf.Installation.ConnectToIronPdfHost(config);
// 4. Generate PDF
var renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("Hello world");
// 5. Save the PDF to disk
pdf.SaveAs("output.pdf");
// 6. Clean up , this is needed to work
pdf.Dispose();using IronPdf;
using IronPdf.GrpcLayer;
using Grpc.Core;
// 1. Create custom gRPC channel (.NET Framework style)
var channel = new Channel("123.456.7.8:80", ChannelCredentials.SecureSsl);
// 2. (Optional) Add metadata headers if needed
var metadata = new Metadata
{
{ "Authorization", "Bearer your_token_here" }
};
// 3. Configure IronPDF with custom channel
var config = IronPdfConnectionConfiguration.WithCustomChannel(channel, metadata);
IronPdf.Installation.ConnectToIronPdfHost(config);
// 4. Generate PDF
var renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("Hello world");
// 5. Save the PDF to disk
pdf.SaveAs("output.pdf");
// 6. Clean up , this is needed to work
pdf.Dispose();Imports IronPdf
Imports IronPdf.GrpcLayer
Imports Grpc.Core
' 1. Create custom gRPC channel (.NET Framework style)
Dim channel As New Channel("123.456.7.8:80", ChannelCredentials.SecureSsl)
' 2. (Optional) Add metadata headers if needed
Dim metadata As New Metadata From {
{"Authorization", "Bearer your_token_here"}
}
' 3. Configure IronPDF with custom channel
Dim config As IronPdfConnectionConfiguration = IronPdfConnectionConfiguration.WithCustomChannel(channel, metadata)
IronPdf.Installation.ConnectToIronPdfHost(config)
' 4. Generate PDF
Dim renderer As New ChromePdfRenderer()
Dim pdf As PdfDocument = renderer.RenderHtmlAsPdf("Hello world")
' 5. Save the PDF to disk
pdf.SaveAs("output.pdf")
' 6. Clean up, this is needed to work
pdf.Dispose()Imports IronPdf
Imports IronPdf.GrpcLayer
Imports Grpc.Core
' 1. Create custom gRPC channel (.NET Framework style)
Dim channel As New Channel("123.456.7.8:80", ChannelCredentials.SecureSsl)
' 2. (Optional) Add metadata headers if needed
Dim metadata As New Metadata From {
{"Authorization", "Bearer your_token_here"}
}
' 3. Configure IronPDF with custom channel
Dim config As IronPdfConnectionConfiguration = IronPdfConnectionConfiguration.WithCustomChannel(channel, metadata)
IronPdf.Installation.ConnectToIronPdfHost(config)
' 4. Generate PDF
Dim renderer As New ChromePdfRenderer()
Dim pdf As PdfDocument = renderer.RenderHtmlAsPdf("Hello world")
' 5. Save the PDF to disk
pdf.SaveAs("output.pdf")
' 6. Clean up, this is needed to work
pdf.Dispose()AWS ECS에 IronPdfEngine 배포
필수 구성 요소
- IronPdfEngine Docker 이미지를 다운로드하세요. 위의 Docker 컨테이너용 IronPDF 설정에 있습니다.
- ECS에 접근 권한이 있는 AWS 계정.
설정
- ECS 클러스터를 생성합니다. 콘솔을 사용하여 Fargate 및 외부 시작 유형에 대한 클러스터 생성을 안내하는 이 가이드를 따르십시오.
- 작업 정의를 생성합니다. 콘솔을 사용하여 작업 정의 생성에 대한 이 가이드를 따르십시오.
권장 설정:
-
AWS Fargate
-
2 GB의 RAM을 가진 최소 1 vCPU가 권장됩니다. 작업량에 따라, 10페이지가 넘는 PDF 파일을 다루거나 요청량이 많은 경우에는 더 높은 요금제를 선택하십시오.
-
네트워크 모드: awsvpc
-
포트 매핑:
{ "containerPort": 33350, "hostPort": 33350, "protocol": "tcp", "appProtocol": "grpc" }JSON -
이미지 URI: 당사에서 IronPdfEngine을 가리킵니다. 예를 들어, "ironsoftwareofficial/ironpdfengine:2026.7.2" (DockerHub에서)
-
AWS 권한 및 네트워킹은 귀하의 책임입니다.
-
Amazon CloudWatch 활성화가 권장됩니다. (로그 활성화)
-
동일한 작업 정의에서 애플리케이션 컨테이너를 배포하려면 컨테이너 시작 순서가 필요합니다.
- 작업 정의를 실행합니다. 작업 정의를 작업 또는 서비스 로 실행할 수 있습니다. 콘솔을 사용하여 서비스 생성에 대한 이 가이드를 따르십시오.
권장 설정:
- 시작 유형: AWS Fargate
- 공용 IP: 테스트 시에는 활성화되고 , 실제 운영 시에는 비활성화됩니다 . 보안 및 AWS 네트워킹은 사용자 스스로 해결해야 합니다.
- 즐기세요! IronPdfEngine Docker 컨테이너가 AWS에서 정상적으로 실행 중입니다!
Azure 컨테이너 인스턴스에 IronPdfEngine 배포
필수 구성 요소
- IronPdfEngine Docker 이미지를 다운로드하세요. 위의 Docker 컨테이너용 IronPDF 설정에 있습니다.
- Azure 계정
설정
- Azure 컨테이너를 생성합니다. Azure 포털을 사용하여 Azure에 컨테이너 인스턴스를 배포하는 빠른 시작 가이드를 따르십시오.
권장 설정:
- 이미지 소스: 다른 레지스트리
- 이미지: ironsoftwareofficial/ironpdfengine:2026.7.2 (Docker Hub에서)
- 운영 체제 유형: Linux
- 크기: 최소 1 vCPU 및 2 GiB의 메모리, 또는 그 이상
- 포트: TCP 포트 33350
- 즐기세요! IronPdfEngine Docker가 Azure 컨테이너 인스턴스에서 실행 중입니다!
AWS ECR 공개 갤러리에서 IronPdfEngine 가져오기
필수 조건
- Docker가 설치되어 있어야 합니다.
설정
- https://gallery.ecr.aws/v1m9w8y1/ironpdfengine로 이동합니다.
- v1m9w8y1/ironpdfengine 이미지를 다운로드하세요.
docker pull https://gallery.ecr.aws/v1m9w8y1/ironpdfengine
또는 특정 버전을 다운로드하세요(권장).
docker pull https://gallery.ecr.aws/v1m9w8y1/ironpdfengine:2026.7.2
- ironpdfengine 컨테이너를 실행합니다.
이 명령은 컨테이너를 생성하고 33350번 포트에서 백그라운드로 실행합니다.
docker run -d -p 33350:33350 ironsoftwareofficial/ironpdfengine
섹션 "IronPdfEngine을 사용하도록 코드 업데이트"로 이동하여 IronPDF 클라이언트를 IronPdfEngine을 활용할 수 있도록 구성하는 방법을 배웁니다.
마켓플레이스에서 IronPdfEngine을 다운로드하세요.
빠른 시작을 돕기 위해 IronPdfEngine을 Azure 및 AWS 마켓플레이스 모두에 설정해 두었습니다.
Azure 마켓플레이스
설정
- Azure Marketplace의 IronPDF Docker 컨테이너로 이동합니다. "지금 받기"를 클릭하고 "계속"을 누르세요.
- "기본 사항", "클러스터 세부 정보" 및 "애플리케이션 세부 정보"를 완료하여 Kubernetes 서비스를 생성합니다.
- 배포가 완료되면 왼쪽 사이드바에서 Kubernetes 리소스 > 명령 실행을 선택합니다. 다음 명령어를 실행하세요:
kubectl get services

외부 IP 주소와 포트 정보를 이용하여 IronPDFEngine 연결을 적절하게 구성할 수 있습니다.
using IronPdf;
using IronPdf.GrpcLayer;
IronPdf.License.LicenseKey = "IRONPDF-MYLICENSE-KEY-1EF01";
IronPdfConnectionConfiguration configuration = new IronPdfConnectionConfiguration();
configuration.ConnectionType = IronPdfConnectionType.RemoteServer;
configuration.Host = "http://48.216.143.233";
configuration.Port = 80;
IronPdf.Installation.ConnectToIronPdfHost(configuration);
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>testing</h1>");
pdf.SaveAs("output.pdf");using IronPdf;
using IronPdf.GrpcLayer;
IronPdf.License.LicenseKey = "IRONPDF-MYLICENSE-KEY-1EF01";
IronPdfConnectionConfiguration configuration = new IronPdfConnectionConfiguration();
configuration.ConnectionType = IronPdfConnectionType.RemoteServer;
configuration.Host = "http://48.216.143.233";
configuration.Port = 80;
IronPdf.Installation.ConnectToIronPdfHost(configuration);
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>testing</h1>");
pdf.SaveAs("output.pdf");Imports IronPdf
Imports IronPdf.GrpcLayer
IronPdf.License.LicenseKey = "IRONPDF-MYLICENSE-KEY-1EF01"
Dim configuration As New IronPdfConnectionConfiguration()
configuration.ConnectionType = IronPdfConnectionType.RemoteServer
configuration.Host = "http://48.216.143.233"
configuration.Port = 80
IronPdf.Installation.ConnectToIronPdfHost(configuration)
Dim renderer As New ChromePdfRenderer()
Dim pdf As PdfDocument = renderer.RenderHtmlAsPdf("<h1>testing</h1>")
pdf.SaveAs("output.pdf")Imports IronPdf
Imports IronPdf.GrpcLayer
IronPdf.License.LicenseKey = "IRONPDF-MYLICENSE-KEY-1EF01"
Dim configuration As New IronPdfConnectionConfiguration()
configuration.ConnectionType = IronPdfConnectionType.RemoteServer
configuration.Host = "http://48.216.143.233"
configuration.Port = 80
IronPdf.Installation.ConnectToIronPdfHost(configuration)
Dim renderer As New ChromePdfRenderer()
Dim pdf As PdfDocument = renderer.RenderHtmlAsPdf("<h1>testing</h1>")
pdf.SaveAs("output.pdf")AWS 마켓플레이스
필수 조건
- Docker가 설치되어 있어야 합니다.
- AWS CLI가 설치되어 있고 로그인되어 있어야 합니다.
설정
- AWS Marketplace의 IronPdfEngine로 이동합니다. '구독 계속하기'를 클릭하세요.
- 약관에 동의하십시오.

- 설정을 계속 진행하세요.

- ironpdfengine 이미지를 가져옵니다. 이 단계에서는 ironpdfengine 이미지를 다운로드하는 명령어를 보여줍니다.

예를 들어:
aws ecr get-login-password \
--region us-east-1 | docker login \
--username AWS \
--password-stdin 000000000000.dkr.ecr.us-east-1.amazonaws.com
CONTAINER_IMAGES="000000000000.dkr.ecr.us-east-1.amazonaws.com/iron-software/ironpdfengine:2026.7.2"
for i in $(echo $CONTAINER_IMAGES | sed "s/,/ /g"); do docker pull $i; done
- ironpdfengine 컨테이너를 실행합니다. 이 명령은 컨테이너를 생성하고 33350번 포트를 사용하여 백그라운드에서 실행합니다.
docker run -d -p 33350:33350 000000000000.dkr.ecr.us-east-1.amazonaws.com/iron-software/ironpdfengine:2026.7.2
IronPdfEngine 건강 점검
Docker 컨테이너의 상태를 확인하는 것은 프로덕션 환경에서 안정성과 가용성을 보장하는 데 매우 중요합니다. IronPdfEngine Docker 컨테이너를 확인할 수 있는 기능을 통해 개발자는 서비스 장애 발생 시 재시작하고, 수요 증가 시 리소스를 확장하며, 지속적인 애플리케이션 모니터링을 수행할 수 있습니다.
IronPdfEngine의 상태를 확인하려면 동일한 IronPdfEngine 포트(기본값은 33350)로 gRPC 요청을 보내 응답을 받는지 확인할 수 있습니다.
gRPC를 이용한 건강 진단
IronPdfEngine은 표준 gRPC 상태 점검 패턴을 준수하며, 다음과 같은 프로토콜 구조를 사용합니다.
message HealthCheckRequest {
string service = 1; // Name of the service to check (e.g., "IronPdfEngine")
}
IronPdfEngine을 확인하려고 하기 때문에 서비스 이름을 IronPdfEngine으로 변경합니다.
Postman을 사용하여 gRPC 요청을 로컬 IronPdfEngine 서비스로 전송하는 JavaScript 예시입니다. 기본 번호는 33350입니다.

응답에서 알 수 있듯이 상태 응답은 SERVING로, 서비스가 실행 중임을 나타냅니다. 컨테이너가 건강하지 않을 경우 상태 응답은 NOT_SERVING일 것입니다.
Kubernetes 설정을 통한 상태 점검
Kubernetes 환경에서는 다음을 사용하여 서비스의 정상 여부를 확인할 수 있습니다.
livenessProbe:
exec:
command:
- /bin/grpc_health_probe
- -addr=:33350
- -rpc-timeout=5s
자주 묻는 질문
IronPdfEngine이 무엇이고 Docker에서 왜 사용하는가?
IronPdfEngine은 PDF 생성, 편집 및 읽기에 전념하는 독립 실행형 서비스입니다. Docker에서 실행하면 필요한 모든 종속성을 캡슐화하여 배포를 간편하게 하고, 크기와 종속성 문제를 피하며 일관된 성능을 보장합니다.
어떤 버전의 IronPDF가 IronPdfEngine Docker와 호환됩니까?
IronPdfEngine Docker는 IronPDF 버전 2023.2.x 이상과 호환됩니다. 문제를 피하기 위해 IronPDF 버전과 IronPdfEngine Docker 버전이 일치하는지 확인하는 것이 중요합니다.
필요한 IronPDF Docker 컨테이너 버전을 어떻게 결정합니까?
필요한 IronPDF Docker 컨테이너 버전을 확인하려면, NuGet에서 사용 중인 IronPDF 버전을 확인하세요. 코드에서 IronPdf.Installation.IronPdfEngineVersion 속성을 사용하여 올바른 버전을 확인하세요.
IronPDF를 컨테이너로 실행하는 것이 왜 유익한가요?
IronPDF를 컨테이너로 실행하면 클라이언트의 크기의 일부만 필요하므로 파일 크기 오버헤드를 줄입니다. 또한 모든 종속성을 사전에 구성하여 번들로 묶어 배포를 간소화합니다.
IronPDF Docker로 배포 문제를 어떻게 피할 수 있습니까?
IronPDF Docker를 사용하면 필요한 모든 종속성이 사전 설치 및 구성되어 있어 설정 복잡성을 줄이고 원활한 작동을 보장함으로써 배포 문제를 피할 수 있습니다.
IronPdfEngine Docker가 런타임 매개변수 구성을 처리할 수 있습니까?
네, IronPdfEngine Docker는 Docker 컨테이너를 실행할 때 키-값 쌍을 사용하여 런타임 매개변수를 구성할 수 있도록 합니다. 이 유연성은 이미지 변경 없이 디버그 모드 및 브라우저 제한과 같은 설정을 맞춤화할 수 있게 합니다.
AWS Fargate에 IronPDF를 배포하기 위한 최소 시스템 요구 사항은 무엇입니까?
AWS Fargate에서 효과적인 배포를 위해 최소 1 vCPU와 2 GB의 RAM을 갖추는 것이 좋습니다. PDF 작업에 따라 최적의 성능을 위해 더 많은 자원이 필요할 수 있습니다.
IronPdfEngine이 PDF 작업을 어떻게 개선합니까?
IronPdfEngine은 PDF 생성 및 조작이 효율적이고, 일관되며 확장 가능하도록 보장하는 신뢰할 수 있는 서비스를 제공하여 PDF 작업을 향상시킵니다, 특히 Docker 같은 확장 가능한 환경 내에서 사용될 때.
IronPdfEngine을 설정할 때 Docker 네트워크를 사용하는 것의 의미는 무엇입니까?
Docker 네트워크를 사용하면 Docker Compose 설정을 사용할 때 적절한 실행 순서와 네트워크 자원 활용을 보장하며 애플리케이션이 IronPdfEngine 컨테이너와 원활하게 통신할 수 있습니다.
IronPdfEngine을 위한 특정 로깅 구성 옵션이 있습니까?
네, IronPdfEngine은 콘솔, 파일, 사용자 지정 모드를 포함한 다양한 로깅 구성 옵션을 지원합니다. 이러한 유연성은 모니터링과 디버깅에 도움을 주며, 개발자가 그들의 필요에 맞는 최적의 방법을 선택할 수 있게 합니다.
How do I use Chromium 146 with IronPdfEngine in Docker?
Use the image tag that ends in -updatedchrome, pinned to the version that matches your IronPDF package. The default version tag and latest stay on Chromium 109, and switching engines only changes the image tag, not your client code.
How can I check which Chromium engine an IronPdfEngine image or container uses?
Each image carries labels naming its engine and Chromium version, which docker inspect can read, and the first line of a running container's log names the engine too. An image without these labels uses Chromium 109.
How do I validate the IronPdfEngine TLS certificate when connecting over HTTPS?
Set AllowUntrustedServerCertificate to false on the RemoteServer connection configuration, so a certificate that fails validation stops the connection. To trust one specific self-signed certificate instead, set ServerCertificateValidationCallback and check its SHA-256 fingerprint.
커티스 차우는 칼턴 대학교에서 컴퓨터 과학 학사 학위를 취득했으며, Node.js, TypeScript, JavaScript, React를 전문으로 하는 프론트엔드 개발자입니다. 직관적이고 미적으로 뛰어난 사용자 인터페이스를 만드는 데 열정을 가진 그는 최신 프레임워크를 활용하고, 잘 구성되고 시각적으로 매력적인 매뉴얼을 제작하는 것을 즐깁니다.

