You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/redshift.md
+34-37Lines changed: 34 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
---
2
2
title: "Redshift"
3
-
linkTitle: "Redshift"
4
3
description: Get started with Redshift on LocalStack
5
4
tags: ["Free", "Ultimate"]
6
5
---
@@ -12,12 +11,12 @@ RedShift is fully managed by AWS and serves as a petabyte-scale service which al
12
11
The query results can be saved to an S3 Data Lake while additional analytics can be provided by Athena or SageMaker.
13
12
14
13
LocalStack allows you to use the RedShift APIs in your local environment to analyze structured and semi-structured data across local data warehouses and data lakes.
15
-
The supported APIs are available on our [API coverage page]({{< ref "coverage_redshift" >}}), which provides information on the extent of RedShift's integration with LocalStack.
14
+
The supported APIs are available on our [API coverage page](), which provides information on the extent of RedShift's integration with LocalStack.
16
15
17
-
{{< callout "Note" >}}
16
+
:::note
18
17
Users on Free plan can use RedShift APIs in LocalStack for basic mocking and testing.
19
18
For advanced features like Redshift Data API and other emulation capabilities, please refer to the Ultimate plan.
20
-
{{< /callout >}}
19
+
:::
21
20
22
21
## Getting started
23
22
@@ -51,108 +50,106 @@ You will also create a Glue database, connection, and crawler to populate the Gl
51
50
You can create a RedShift cluster using the [`CreateCluster`](https://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateCluster.html) API.
52
51
The following command will create a RedShift cluster with the variables defined above:
You can fetch the status of the cluster using the [`DescribeClusters`](https://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusters.html) API.
64
63
Run the following command to extract the URL of the cluster:
You can create a connection to the RedShift cluster using the [`CreateConnection`](https://docs.aws.amazon.com/glue/latest/webapi/API_CreateConnection.html) API.
82
81
The following command will create a Glue connection with the RedShift cluster:
"create table $REDSHIFT_TABLE_NAME(salesid integer not null, listid integer not null, sellerid integer not null, buyerid integer not null, eventid integer not null, dateid smallint not null, qtysold smallint not null, pricepaid decimal(8,2), commission decimal(8,2), saletime timestamp)"| jq -r .Id)
111
-
{{< / command >}}
110
+
```
112
111
113
112
You can check the status of the statement using the [`DescribeStatement`](https://docs.aws.amazon.com/redshift-data/latest/APIReference/API_DescribeStatement.html) API.
114
113
The following command will check the status of the statement:
The LocalStack Web Application provides a Resource Browser for managing RedShift clusters.
151
150
You can access the Resource Browser by opening the LocalStack Web Application in your browser, navigating to the **Resources** section, and then clicking on **RedShift** under the **Analytics** section.
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/resourcegroups.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
---
2
2
title: "Resource Groups"
3
-
linkTitle: "Resource Groups"
4
3
tags: ["Free"]
5
4
description: >
6
5
Get started with Resource Groups on LocalStack
@@ -14,7 +13,7 @@ Resource Groups in AWS provide two types of queries that developers can use to b
14
13
With Tag-based queries, developers can organize resources based on common attributes or characteristics, while CloudFormation stack-based queries allow developers to group resources that are deployed together as part of a CloudFormation stack.
15
14
16
15
LocalStack allows you to use the Resource Groups APIs in your local environment to group and categorize resources based on criteria such as tags, resource types, regions, or custom attributes.
17
-
The supported APIs are available on our [API coverage page]({{< ref "coverage_resource-groups" >}}), which provides information on the extent of Resource Group's integration with LocalStack.
16
+
The supported APIs are available on our [API coverage page](), which provides information on the extent of Resource Group's integration with LocalStack.
18
17
19
18
## Getting Started
20
19
@@ -34,11 +33,11 @@ A tag-based group is created based on a query of type `TAG_FILTERS_1_0`.
34
33
Use the [`CreateGroup`](https://docs.aws.amazon.com/resource-groups/latest/APIReference/API_CreateGroup.html) API to create a Resource Group.
35
34
Run the following command to create a Resource Group named `my-resource-group`:
You can also specify `AWS::AllSupported` as the `ResourceTypeFilters` value to include all supported resource types in the group.
44
43
@@ -47,27 +46,27 @@ You can also specify `AWS::AllSupported` as the `ResourceTypeFilters` value to i
47
46
To update a Resource Group, use the [`UpdateGroup`](https://docs.aws.amazon.com/resource-groups/latest/APIReference/API_UpdateGroup.html) API.
48
47
Execute the following command to update the Resource Group `my-resource-group`:
49
48
50
-
{{< command >}}
49
+
```bash
51
50
awslocal resource-groups update-group \
52
51
--group-name my-resource-group \
53
52
--description "EC2 S3 buckets and RDS DBs that we are using for the test stage"
54
-
{{< /command >}}
53
+
```
55
54
56
55
Furthermore, you can also update the query and tags associated with a Resource Group using the [`UpdateGroup`](https://docs.aws.amazon.com/resource-groups/latest/APIReference/API_UpdateGroup.html) API.
57
56
Run the following command to update the query and tags of the Resource Group `my-resource-group`:
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/route53.md
+30-31Lines changed: 30 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
---
2
2
title: "Route 53"
3
-
linkTitle: "Route 53"
4
3
description: Get started with Route 53 on LocalStack
5
4
persistence: supported
6
5
tags: ["Free"]
@@ -14,14 +13,14 @@ In addition to basic DNS functionality, Route 53 offers advanced features like h
14
13
Route 53 integrates seamlessly with other AWS services, such as route traffic to CloudFront distributions, S3 buckets configured for static website hosting, EC2 instances, and more.
15
14
16
15
LocalStack allows you to use the Route53 APIs in your local environment to create hosted zones and to manage DNS entries.
17
-
The supported APIs are available on our [API coverage page]({{< ref "coverage_route53" >}}), which provides information on the extent of Route53's integration with LocalStack.
16
+
The supported APIs are available on our [API coverage page](), which provides information on the extent of Route53's integration with LocalStack.
18
17
LocalStack also integrates with its DNS server to respond to DNS queries with these domains.
19
18
20
-
{{< callout "note">}}
19
+
:::note
21
20
LocalStack CLI does not publish port `53` anymore by default.
22
21
Use the CLI flag `--host-dns` to expose the port on the host.
23
22
This would be required if you want to reach out to Route53 domain names from your host machine, using the LocalStack DNS server.
24
-
{{< /callout >}}
23
+
:::
25
24
26
25
## Getting started
27
26
@@ -35,12 +34,12 @@ We will demonstrate how to create a hosted zone and query the DNS record with th
35
34
You can created a hosted zone for `example.com` using the [`CreateHostedZone`](https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHostedZone.html) API.
36
35
Run the following command:
37
36
38
-
{{< command >}}
39
-
$ zone_id=$(awslocal route53 create-hosted-zone \
37
+
```bash
38
+
zone_id=$(awslocal route53 create-hosted-zone \
40
39
--name example.com \
41
40
--caller-reference r1 | jq -r '.HostedZone.Id')
42
-
$ echo $zone_id
43
-
{{< / command >}}
41
+
echo$zone_id
42
+
```
44
43
45
44
The following output would be retrieved:
46
45
@@ -53,11 +52,11 @@ The following output would be retrieved:
53
52
You can now change the resource record sets for the hosted zone `example.com` using the [`ChangeResourceRecordSets`](https://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html) API.
@@ -73,19 +72,19 @@ The following output would be retrieved:
73
72
74
73
## DNS resolution
75
74
76
-
LocalStack Pro supports the ability to respond to DNS queries for your Route53 domain names, with our [integrated DNS server]({{< ref "user-guide/tools/dns-server" >}}).
75
+
LocalStack Pro supports the ability to respond to DNS queries for your Route53 domain names, with our [integrated DNS server](/aws/tooling/dns-server).
77
76
78
-
{{< callout >}}
79
-
To follow the example below you must [configure your system DNS to use the LocalStack DNS server]({{< ref "user-guide/tools/dns-server#system-dns-configuration" >}}).
80
-
{{< /callout >}}
77
+
:::note
78
+
To follow the example below you must [configure your system DNS to use the LocalStack DNS server](/aws/tooling/dns-server#system-dns-configuration).
79
+
:::
81
80
82
81
### Query a DNS record
83
82
84
83
You can query the DNS record using `dig` via the built-in DNS server by running the following command:
85
84
86
-
{{< command >}}
87
-
$ dig @localhost test.example.com
88
-
{{< / command >}}
85
+
```bash
86
+
dig @localhost test.example.com
87
+
```
89
88
90
89
The following output would be retrieved:
91
90
@@ -101,7 +100,7 @@ test.example.com. 300 IN A 1.2.3.4
101
100
102
101
The DNS name `localhost.localstack.cloud`, along with its subdomains like `mybucket.s3.localhost.localstack.cloud`, serves an internal routing purpose within LocalStack.
103
102
It facilitates communication between a LocalStack compute environment (such as a Lambda function) and the LocalStack APIs, as well as your containerised applications with the LocalStack APIs.
104
-
For example configurations, see the [Network Troubleshooting guide]({{< ref "references/network-troubleshooting/endpoint-url/#from-your-container" >}}).
103
+
For example configurations, see the [Network Troubleshooting guide]().
105
104
106
105
For most use-cases, the default configuration of the internal LocalStack DNS name requires no modification.
107
106
It functions seamlessly in typical scenarios.
@@ -115,12 +114,12 @@ This can be accomplished using Route53.
115
114
Create a hosted zone for the domain `localhost.localstack.cloud` using the [`CreateHostedZone` API](https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHostedZone.html) API.
116
115
Run the following command:
117
116
118
-
{{< command >}}
119
-
$ zone_id=$(awslocal route53 create-hosted-zone \
117
+
```bash
118
+
zone_id=$(awslocal route53 create-hosted-zone \
120
119
--name localhost.localstack.cloud \
121
120
--caller-reference r1 | jq -r .HostedZone.Id)
122
-
$ echo $zone_id
123
-
{{< / command >}}
121
+
echo$zone_id
122
+
```
124
123
125
124
The following output would be retrieved:
126
125
@@ -131,11 +130,11 @@ The following output would be retrieved:
131
130
You can now use the [`ChangeResourceRecordSets`](https://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html) API to create a record set for the domain `localhost.localstack.cloud` using the `zone_id` retrieved in the previous step.
@@ -176,7 +175,7 @@ localhost.localstack.cloud. 300 IN A 5.6.7.8
176
175
The LocalStack Web Application provides a Route53 for creating hosted zones and to manage DNS entries.
177
176
You can access the Resource Browser by opening the LocalStack Web Application in your browser, navigating to the **Resources** section, and then clicking on **Route53** under the **Analytics** section.
0 commit comments