> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/1password/deploy-1password-connect-server-on-aws-ecs-fargate-with-cloudformation.md).

# 1Password Connect Server をデプロイする

1Password Connectは[AWS Fargate](https://docs.aws.amazon.com/AmazonECS/latest/userguide/what-is-fargate.html)と連携しますAWS Fargate を使うと、Amazon Elastic Container Service (ECS) を活用して、クラスターを管理することなくコンテナを実行できます。

### 必要条件 <a href="#id-78dgmjf9b0w9" id="id-78dgmjf9b0w9"></a>

Connect サーバーで 1Password CLI を使う前に、次の操Createを行う必要があります。

* 1Passwordに[サインアップします](https://start.1password.com/sign-up/plan)。
* インフラストラクチャ内に[1Password Connect サーバーをCreateします。](https://developer.1password.com/docs/connect/get-started/#step-2-deploy-1password-connect-server)
* [AWS Fargate](https://docs.aws.amazon.com/AmazonECS/latest/userguide/what-is-fargate.html)にサインアップ。

### **例** <a href="#ei3obo419pvy" id="ei3obo419pvy"></a>

[1PasswordのサンプルCloudFormationテンプレート（）](https://github.com/1Password/connect/blob/main/examples/aws-ecs-fargate/connect.yaml)を使用できます。[connect.yaml](https://github.com/1Password/connect/blob/main/examples/aws-ecs-fargate/connect.yaml)AWS Fargate に Connect をデプロイするための出発点として。

[CloudFormationテンプレート](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-whatis-concepts.html#cfn-concepts-templates)の例必要なネットワーク リソース、ECS リソース、ルール、グループ、ポリシーをCreateします。詳細については、[「リソース」](https://developer.1password.com/docs/connect/aws-ecs-fargate/#resources)を参照してください。

その結果、AWS Fargate で実行されている 1Password Connect Server インスタンスにリクエストをルーティングする、パブリックにアクセス可能なホスト名がCreateされます。

ヒント

このサンプルCloudFormationファイルを使用して、保存済みの[AWS仮想プライベートクラウド（VPC）](https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html)にデプロイすることもできます。または保存済みの[Amazon Elastic Container (AWS ECS)](https://docs.aws.amazon.com/ecs/)[クラスター。](https://console.aws.amazon.com/cloudformation/designer)テキストエディタまたはAmazonの[CloudFormation Designer](https://console.aws.amazon.com/cloudformation/designer) toolを使用して変更できます。

#### **リソース** <a href="#id-2leiy3yd15bm" id="id-2leiy3yd15bm"></a>

サンプルの CloudFormation テンプレートは、次のネットワーク リソースをCreateします。

* 仮想プライベートクラウド (VPC)
* 2つのパブリックサブネット
* [Internet gateway](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html)
* [Application Load Balancer (ALB)](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html)

サンプルの CloudFormation テンプレートは、次の ECS リソースをCreateします。

* [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/userguide/clusters-concepts.html)
* 2つの[タスク定義](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-tasks-services.html)
  * コンテナ1password/connect-api​
  * コンテナ1password/connect-sync​

### [**始めましょう**](https://developer.1password.com/docs/connect/aws-ecs-fargate/#get-started) <a href="#fx3ehlta3yzo" id="fx3ehlta3yzo"></a>

サンプルconnect.yamlファイルを使用して、AWS Fargate に Connect サーバーをデプロイするには (CloudFormation を使用)、次の手順を実行します。

* ①[AWS Create Stackウィザードを起動します。](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stack.html#cfn-using-console-initiating-stack-creation)
* ②サンプル[connect.yaml](https://github.com/1Password/connect/blob/main/examples/aws-ecs-fargate/connect.yaml)ファイルを選択スタックテンプレートとして選択します。[スタックテンプレートの選択を参照してください。](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-using-console-create-stack-template.html)。
* ③Connect サーバーの1password-credentials.jsonファイルの Base64 URL エンコード バージョンを提供します。

この CloudFormation テンプレートをインポートするときに、 1password-credentials.jsonの Base64 URL エンコード バージョンを指定するように求められます。このエンコードされた値は、次のシェル コマンドで生Createできます。

$ cat 1password-credentials.json | base64 | tr '/+' '\_-' | tr -d '=' | tr -d '\n'




---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://manual.dxable.com/1password/deploy-1password-connect-server-on-aws-ecs-fargate-with-cloudformation.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.
