Skip to content

Commit 49d6d64

Browse files
author
MockForge Agent
committed
docs: add preview labeling to self-managed hosting (isolated/removable)
1 parent 663a61a commit 49d6d64

8 files changed

Lines changed: 91 additions & 3 deletions

File tree

src/pages/[platform]/deploy-and-host/self-hosting/define-hosting/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ export function getStaticProps(context) {
2828
};
2929
}
3030

31+
{/* PREVIEW-BANNER-START */}
32+
<Callout warning>
33+
34+
**This feature is in preview** and part of our [RFC](https://github.com/aws-amplify/amplify-backend/issues/3211). It is not recommended for production workloads yet. APIs may change before general availability.
35+
36+
You can try the preview by installing the tagged packages:
37+
38+
```bash
39+
npm install @aws-amplify/hosting@iac-hosting @aws-amplify/backend-cli@iac-hosting @aws-amplify/backend@iac-hosting
40+
```
41+
42+
</Callout>
43+
{/* PREVIEW-BANNER-END */}
44+
3145
In this guide, you will learn how to customize your self-hosted infrastructure with custom domains, WAF rules, compute and CDN configuration, custom adapters, and CDK escape hatches.
3246

3347
## Framework detection

src/pages/[platform]/deploy-and-host/self-hosting/define-pipeline/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ export function getStaticProps(context) {
2828
};
2929
}
3030

31+
{/* PREVIEW-BANNER-START */}
32+
<Callout warning>
33+
34+
**This feature is in preview** and part of our [RFC](https://github.com/aws-amplify/amplify-backend/issues/3211). It is not recommended for production workloads yet. APIs may change before general availability.
35+
36+
You can try the preview by installing the tagged packages:
37+
38+
```bash
39+
npm install @aws-amplify/hosting@iac-hosting @aws-amplify/backend-cli@iac-hosting @aws-amplify/backend@iac-hosting
40+
```
41+
42+
</Callout>
43+
{/* PREVIEW-BANNER-END */}
44+
3145
In this guide, you will learn how to define a CI/CD pipeline that automatically deploys your application on every push, with support for multi-stage deployments, approval gates, and bake times.
3246

3347
## Defining a basic pipeline

src/pages/[platform]/deploy-and-host/self-hosting/external-pipelines/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ export function getStaticProps(context) {
2828
};
2929
}
3030

31+
{/* PREVIEW-BANNER-START */}
32+
<Callout warning>
33+
34+
**This feature is in preview** and part of our [RFC](https://github.com/aws-amplify/amplify-backend/issues/3211). It is not recommended for production workloads yet. APIs may change before general availability.
35+
36+
You can try the preview by installing the tagged packages:
37+
38+
```bash
39+
npm install @aws-amplify/hosting@iac-hosting @aws-amplify/backend-cli@iac-hosting @aws-amplify/backend@iac-hosting
40+
```
41+
42+
</Callout>
43+
{/* PREVIEW-BANNER-END */}
44+
3145
In this guide, you will learn how to deploy your self-hosted application using GitHub Actions, GitLab CI, or any CI runner that can execute shell commands with AWS credentials.
3246

3347
## Understanding deployment flags

src/pages/[platform]/deploy-and-host/self-hosting/frameworks/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ export function getStaticProps(context) {
2828
};
2929
}
3030

31+
{/* PREVIEW-BANNER-START */}
32+
<Callout warning>
33+
34+
**This feature is in preview** and part of our [RFC](https://github.com/aws-amplify/amplify-backend/issues/3211). It is not recommended for production workloads yet. APIs may change before general availability.
35+
36+
You can try the preview by installing the tagged packages:
37+
38+
```bash
39+
npm install @aws-amplify/hosting@iac-hosting @aws-amplify/backend-cli@iac-hosting @aws-amplify/backend@iac-hosting
40+
```
41+
42+
</Callout>
43+
{/* PREVIEW-BANNER-END */}
44+
3145
When you call `defineHosting()`, the construct auto-detects your framework by inspecting `package.json` dependencies. Each framework maps to a specific build adapter that determines which hosting features are available.
3246

3347
## Detected frameworks

src/pages/[platform]/deploy-and-host/self-hosting/getting-started/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ export function getStaticProps(context) {
2828
};
2929
}
3030

31+
{/* PREVIEW-BANNER-START */}
32+
<Callout warning>
33+
34+
**This feature is in preview** and part of our [RFC](https://github.com/aws-amplify/amplify-backend/issues/3211). It is not recommended for production workloads yet. APIs may change before general availability.
35+
36+
You can try the preview by installing the tagged packages:
37+
38+
```bash
39+
npm install @aws-amplify/hosting@iac-hosting @aws-amplify/backend-cli@iac-hosting @aws-amplify/backend@iac-hosting
40+
```
41+
42+
</Callout>
43+
{/* PREVIEW-BANNER-END */}
44+
3145
In this guide, you will learn how to install the hosting package, configure your first `defineHosting()` definition, and deploy your frontend to your own AWS account.
3246

3347
## Prerequisites

src/pages/[platform]/deploy-and-host/self-hosting/index.mdx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { getChildPageNodes } from '@/utils/getChildPageNodes';
22
import { getCustomStaticPath } from '@/utils/getCustomStaticPath';
33

44
export const meta = {
5-
title: 'Self-managed hosting',
5+
title: 'Self-managed hosting (Preview)',
66
description: 'Deploy your frontend to your own AWS account with full AWS CDK control.',
77
route: '/[platform]/deploy-and-host/self-hosting',
88
platforms: [
@@ -32,6 +32,20 @@ export function getStaticProps(context) {
3232
};
3333
}
3434

35+
{/* PREVIEW-BANNER-START */}
36+
<Callout warning>
37+
38+
**This feature is in preview** and part of our [RFC](https://github.com/aws-amplify/amplify-backend/issues/3211). It is not recommended for production workloads yet. APIs may change before general availability.
39+
40+
You can try the preview by installing the tagged packages:
41+
42+
```bash
43+
npm install @aws-amplify/hosting@iac-hosting @aws-amplify/backend-cli@iac-hosting @aws-amplify/backend@iac-hosting
44+
```
45+
46+
</Callout>
47+
{/* PREVIEW-BANNER-END */}
48+
3549
Self-managed hosting gives you full ownership of your frontend infrastructure. You deploy to your own AWS account using AWS CDK constructs, giving you complete control over Amazon S3 buckets, Amazon CloudFront distributions, Lambda@Edge functions, and every other resource in your stack.
3650

3751
## How it works

src/pages/[platform]/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,9 @@ const Gen2Overview = () => {
353353
</Flex>
354354

355355
<Flex direction="column" gap="1rem">
356-
<Heading level={3}>Self-managed hosting</Heading>
356+
{/* PREVIEW-LABEL-START */}
357+
<Heading level={3}>Self-managed hosting (Preview)</Heading>
358+
{/* PREVIEW-LABEL-END */}
357359
<Text>
358360
Deploy to your own AWS account with full AWS CDK control over
359361
Amazon CloudFront, Amazon S3, and AWS Lambda.

src/pages/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,9 @@ export default function Page() {
249249
</Flex>
250250

251251
<Flex direction="column" gap="1rem">
252-
<Heading level={3}>Self-managed hosting</Heading>
252+
{/* PREVIEW-LABEL-START */}
253+
<Heading level={3}>Self-managed hosting (Preview)</Heading>
254+
{/* PREVIEW-LABEL-END */}
253255
<Text>
254256
Deploy to your own AWS account with full AWS CDK control over
255257
Amazon CloudFront, Amazon S3, and AWS Lambda.

0 commit comments

Comments
 (0)