Skip to content

Commit 48e921c

Browse files
feat(hosting): add self-managed hosting documentation (preview)
Adds documentation for the self-managed hosting feature (defineHosting, definePipeline, ampx deploy), restructures the deploy-and-host section into Amplify Hosting and Self-managed hosting, and adds preview labeling. RFC: aws-amplify/amplify-backend#3211
1 parent 6cf6e76 commit 48e921c

46 files changed

Lines changed: 1791 additions & 290 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.yarnrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
nodeLinker: node-modules
2+
3+
npmMinimalAgeGate: 0

cspell.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@
428428
"Cocoapods",
429429
"CocoaPods",
430430
"CodeCommit",
431+
"codeconnections",
431432
"codegen",
432433
"CODEGENJOB",
433434
"COGNITO_USERPOOL_ID",
@@ -944,6 +945,7 @@
944945
"nextsteps",
945946
"ng-recaptcha",
946947
"Nkjd",
948+
"nitro", "nitropack",
947949
"node_modules",
948950
"Node.js.",
949951
"node.js",
@@ -996,6 +998,7 @@
996998
"OpenID",
997999
"OpenSearch",
9981000
"opensearchservice",
1001+
"opennextjs",
9991002
"openssl",
10001003
"orderId",
10011004
"osis",
@@ -1156,6 +1159,7 @@
11561159
"ROOT_QUERY.listPosts",
11571160
"ROOT_QUERY",
11581161
"rootstack",
1162+
"rollouts",
11591163
"Route53",
11601164
"runOnUiThread",
11611165
"runtime's",
@@ -1459,6 +1463,7 @@
14591463
"xcworkspace",
14601464
"xfbml",
14611465
"xib",
1466+
"xlarge",
14621467
"xml",
14631468
"XR.start",
14641469
"xr",

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./client/www/next-build/dev/types/routes.d.ts";
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,5 @@
129129
"overrides": {
130130
"tmp": "^0.2.4"
131131
},
132-
"packageManager": "yarn@4.14.1"
132+
"packageManager": "yarn@4.16.0"
133133
}
Lines changed: 90 additions & 0 deletions
Loading
Lines changed: 90 additions & 0 deletions
Loading

redirects.json

Lines changed: 59 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9651,12 +9651,12 @@
96519651
},
96529652
{
96539653
"source": "/gen2/deploy-and-host/fullstack-branching/",
9654-
"target": "/gen1/gen2/deploy-and-host/fullstack-branching/",
9654+
"target": "/react/deploy-and-host/amplify-hosting/",
96559655
"status": "301"
96569656
},
96579657
{
96589658
"source": "/gen2/deploy-and-host/hosting/",
9659-
"target": "/gen1/gen2/deploy-and-host/hosting/",
9659+
"target": "/react/deploy-and-host/amplify-hosting/",
96609660
"status": "301"
96619661
},
96629662
{
@@ -9831,12 +9831,12 @@
98319831
},
98329832
{
98339833
"source": "/gen1/gen2/deploy-and-host/hosting/",
9834-
"target": "/react/deploy-and-host/hosting/",
9834+
"target": "/react/deploy-and-host/amplify-hosting/",
98359835
"status": "301"
98369836
},
98379837
{
98389838
"source": "/gen1/gen2/deploy-and-host/fullstack-branching/",
9839-
"target": "/react/deploy-and-host/fullstack-branching/",
9839+
"target": "/react/deploy-and-host/amplify-hosting/",
98409840
"status": "301"
98419841
},
98429842
{
@@ -10428,5 +10428,60 @@
1042810428
"source": "/<platform>/start/mcp-server/<*>",
1042910429
"target": "/<platform>/develop-with-ai/mcp-server/<*>",
1043010430
"status": "301"
10431+
},
10432+
{
10433+
"source": "/<platform>/deploy-and-host/hosting/",
10434+
"target": "/<platform>/deploy-and-host/amplify-hosting/",
10435+
"status": "301"
10436+
},
10437+
{
10438+
"source": "/<platform>/deploy-and-host/hosting/<*>",
10439+
"target": "/<platform>/deploy-and-host/amplify-hosting/<*>",
10440+
"status": "301"
10441+
},
10442+
{
10443+
"source": "/<platform>/deploy-and-host/fullstack-branching/",
10444+
"target": "/<platform>/deploy-and-host/amplify-hosting/",
10445+
"status": "301"
10446+
},
10447+
{
10448+
"source": "/<platform>/deploy-and-host/fullstack-branching/branch-deployments/",
10449+
"target": "/<platform>/deploy-and-host/amplify-hosting/branch-deployments/",
10450+
"status": "301"
10451+
},
10452+
{
10453+
"source": "/<platform>/deploy-and-host/fullstack-branching/pr-previews/",
10454+
"target": "/<platform>/deploy-and-host/amplify-hosting/pr-previews/",
10455+
"status": "301"
10456+
},
10457+
{
10458+
"source": "/<platform>/deploy-and-host/fullstack-branching/secrets-and-vars/",
10459+
"target": "/<platform>/deploy-and-host/amplify-hosting/secrets-and-vars/",
10460+
"status": "301"
10461+
},
10462+
{
10463+
"source": "/<platform>/deploy-and-host/fullstack-branching/share-resources/",
10464+
"target": "/<platform>/deploy-and-host/amplify-hosting/share-resources/",
10465+
"status": "301"
10466+
},
10467+
{
10468+
"source": "/<platform>/deploy-and-host/fullstack-branching/custom-pipelines/",
10469+
"target": "/<platform>/deploy-and-host/amplify-hosting/custom-pipelines/",
10470+
"status": "301"
10471+
},
10472+
{
10473+
"source": "/<platform>/deploy-and-host/fullstack-branching/cross-account-deployments/",
10474+
"target": "/<platform>/deploy-and-host/amplify-hosting/cross-account-deployments/",
10475+
"status": "301"
10476+
},
10477+
{
10478+
"source": "/<platform>/deploy-and-host/fullstack-branching/mono-and-multi-repos/",
10479+
"target": "/<platform>/deploy-and-host/amplify-hosting/mono-and-multi-repos/",
10480+
"status": "301"
10481+
},
10482+
{
10483+
"source": "/<platform>/deploy-and-host/fullstack-branching/monorepos/",
10484+
"target": "/<platform>/deploy-and-host/amplify-hosting/monorepos/",
10485+
"status": "301"
1043110486
}
1043210487
]

src/components/FeatureLists/__tests__/FeatureLists.test.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ describe('FeatureLists', () => {
1919
const featureListComponent = (
2020
<FeatureList heading="Deploy" level={2}>
2121
<FeatureItem
22-
linkText="SSR/SSG/ISR hosting support"
23-
href="/react/deploy-and-host/hosting/"
22+
linkText="Managed hosting with Git CI/CD"
23+
href="/react/deploy-and-host/amplify-hosting/"
2424
>
25-
Deploy apps in Next.js, Nuxt.js, Gatsby, React, Vue, Angular (and more)
26-
by simply connecting your Git repository.
25+
Connect your Git repository to Amplify Hosting. Your app builds and
26+
deploys on every push with SSR, SSG, and ISR support.
2727
</FeatureItem>
2828
</FeatureList>
2929
);
@@ -41,7 +41,7 @@ describe('FeatureLists', () => {
4141
render(featureListComponent);
4242

4343
const link = await screen.findByRole('link', {
44-
name: 'SSR/SSG/ISR hosting support'
44+
name: 'Managed hosting with Git CI/CD'
4545
});
4646

4747
expect(link).toBeInTheDocument();

src/components/NextPrevious/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,5 @@ export const NEXT_PREVIOUS_SECTIONS = [
127127
'/[platform]/build-a-backend/add-aws-services/',
128128
'/[platform]/build-ui/formbuilder/',
129129
'/[platform]/deploy-and-host/sandbox-environments/',
130-
'/[platform]/deploy-and-host/fullstack-branching/'
130+
'/[platform]/deploy-and-host/amplify-hosting/'
131131
];

0 commit comments

Comments
 (0)