Skip to main content

Deploy 1Password Connect Server on AWS ECS Fargate with CloudFormation

1Password Connect works with AWS Fargate . AWS Fargate lets you leverage Amazon Elastic Container Service (ECS) to run containers without the need to manage clusters.

Requirements

Before you can use 1Password CLI with your Connect server, you must:

Example

You can use 1Password's example CloudFormation template (connect.yaml) as a starting place for deploying Connect on AWS Fargate.

The example CloudFormation template creates the necessary networking resources, ECS resources, rules, groups, and policies. See Resources for more details.

The result is a publicly accessible hostname that routes requests to a 1Password Connect Server instance running in AWS Fargate.

tip

You can also use this example CloudFormation file to deploy into an existing AWS virtual private cloud (VPC) or an existing Amazon Elastic Container (AWS ECS) cluster. You can modify it using a text editor or using Amazon's CloudFormation Designer tool.

Resources

The example CloudFormation template creates the following network resources:

The example CloudFormation template creates the following ECS resources:

Get started

To use the example connect.yaml file to deploy a Connect server on AWS Fargate (using CloudFormation):

  1. Start the AWS Create Stack wizard.
  2. Select the example connect.yaml file as the stack template. See Selecting a stack template .
  3. Provide a Base64 URL encoded version of your Connect server's 1password-credentials.json file.

When importing this CloudFormation template, it prompts you to provide a Base64 URL encoded version of the 1password-credentials.json. You can generate this encoded value with the following shell command:

Was this page helpful?