Skip to content

Commit 78f7c15

Browse files
committed
standardize URL format
1 parent 041b86d commit 78f7c15

12 files changed

Lines changed: 37 additions & 37 deletions

File tree

packages/aws/src/components/bucket.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@
4141
* ## Related Components
4242
*
4343
* Buckets are a foundational component in AWS and integrate with several other components:
44-
* - [static-site](/components/static-site) - Serves files stored in S3 publicly using Cloudfront as a CDN with support for framework-specific routing.
45-
* - [s3-firehose](/components/s3-firehose) - Sets up a Kinesis Firehose that can be used to buffer data and write it to S3 in chunks. This can be used to query it efficiently with tools that can read data directly from S3 such as Athena or Apache Spark.
44+
* - [static-site](/components/static-site/) - Serves files stored in S3 publicly using Cloudfront as a CDN with support for framework-specific routing.
45+
* - [s3-firehose](/components/s3-firehose/) - Sets up a Kinesis Firehose that can be used to buffer data and write it to S3 in chunks. This can be used to query it efficiently with tools that can read data directly from S3 such as Athena or Apache Spark.
4646
*
4747
* ## Costs
4848
*
4949
* S3 costs are all **usage-based** so you will not be charged if you create a bucket and never use it. S3 costs are broken down by:
5050
*
5151
* - **Data Transfer** - This is the component that often makes costs really blow up unless handled carefully. Sending data **to** S3 is always free. However, transferring data **out of** S3 to the internet incurs charges of ~$0.09/GB. If data is transferred from S3 to many clients, this can add up quickly. Consider these cost reduction strategies:
52-
* - Use S3 endpoints - The [vpc](/components/vpc) component sets up VPC endpoints by default, so requests to S3 from your VPC will be made internally in AWS's network and will not incur data transfer charges.
53-
* - Consider CloudFront - Use the [staticSite](/components/static-site) component or create your own CloudFront distribution to serve files publicly. The first 1TB of data transfer out to the internet from CloudFront is free each month; [see CloudFront pricing for details](https://aws.amazon.com/cloudfront/pricing/).
52+
* - Use S3 endpoints - The [vpc](/components/vpc/) component sets up VPC endpoints by default, so requests to S3 from your VPC will be made internally in AWS's network and will not incur data transfer charges.
53+
* - Consider CloudFront - Use the [staticSite](/components/static-site/) component or create your own CloudFront distribution to serve files publicly. The first 1TB of data transfer out to the internet from CloudFront is free each month; [see CloudFront pricing for details](https://aws.amazon.com/cloudfront/pricing/).
5454
*
5555
* - **Data stored** - The storage itself is relatively cheap, ~$0.023/GB/month. If you store 100GB of data in S3 and leave it there, you'll be billed ~$2.30 each month. If you delete the data (including all versions, if versioning is enabled) from S3, you will not be charged for its storage anymore.
5656
*

packages/aws/src/components/certificate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
* ## Related Components
2929
*
3030
* Certificates work together with other Stackattack components:
31-
* - [load-balancer](/components/load-balancer) - Uses certificates for HTTPS termination
32-
* - [static-site](/components/static-site) - Uses certificates for secure CloudFront distributions
31+
* - [load-balancer](/components/load-balancer/) - Uses certificates for HTTPS termination
32+
* - [static-site](/components/static-site/) - Uses certificates for secure CloudFront distributions
3333
*
3434
* ## Costs
3535
*

packages/aws/src/components/cluster.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
*
1818
* ## Usage
1919
*
20-
* After deploying a cluster, you can deploy [services](/components/service) into it to run code in docker containers.
20+
* After deploying a cluster, you can deploy [services](/components/service/) into it to run code in docker containers.
2121
*
2222
* **SSH Access to EC2 Instances:**
23-
* _NOTE_: if your instances are within a private subnet (as is likely the case), you need a way to access your instances. If you created your vpc with the [vpc](/components/vpc) component, an EC2 instance connect endpoint is set up automatically.
23+
* _NOTE_: if your instances are within a private subnet (as is likely the case), you need a way to access your instances. If you created your vpc with the [vpc](/components/vpc/) component, an EC2 instance connect endpoint is set up automatically.
2424
*
2525
* ```bash
2626
* # Connect to an instance using Instance Connect (no key pairs needed)
@@ -32,9 +32,9 @@
3232
* ## Related Components
3333
*
3434
* Clusters work together with other Stackattack components:
35-
* - [vpc](/components/vpc) - Provides networking foundation with private/public subnets
36-
* - [service](/components/service) - Runs containerized applications on the cluster
37-
* - [load-balancer](/components/load-balancer) - Routes external traffic to services on the cluster
35+
* - [vpc](/components/vpc/) - Provides networking foundation with private/public subnets
36+
* - [service](/components/service/) - Runs containerized applications on the cluster
37+
* - [load-balancer](/components/load-balancer/) - Routes external traffic to services on the cluster
3838
*
3939
* ## Costs
4040
*
@@ -52,7 +52,7 @@
5252
* - Use spot instances for non-critical workloads (up to 90% savings)
5353
* - Enable cluster auto-scaling to scale to zero during low usage
5454
* - Monitor instance utilization and rightsize instance types
55-
* - Use [service](/components/service) placement strategies to maximize instance utilization
55+
* - Use [service](/components/service/) placement strategies to maximize instance utilization
5656
*
5757
* See [EC2 Pricing](https://aws.amazon.com/ec2/pricing/) for current rates.
5858
*/

packages/aws/src/components/database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
* ## Related Components
6262
*
6363
* Databases work together with other Stackattack components:
64-
* - [vpc](/components/vpc) - Provides secure private networking for database access
64+
* - [vpc](/components/vpc/) - Provides secure private networking for database access
6565
*
6666
* ## Costs
6767
*

packages/aws/src/components/load-balancer.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
* ## Related Components
5858
*
5959
* Load balancers work together with other Stackattack components:
60-
* - [vpc](/components/vpc) - Provides public networking for internet-facing load balancers
61-
* - [service](/components/service) - Receives traffic routed through load balancers
62-
* - [certificate](/components/certificate) - Enables HTTPS termination at the load balancer
60+
* - [vpc](/components/vpc/) - Provides public networking for internet-facing load balancers
61+
* - [service](/components/service/) - Receives traffic routed through load balancers
62+
* - [certificate](/components/certificate/) - Enables HTTPS termination at the load balancer
6363
*
6464
* ## Costs
6565
*

packages/aws/src/components/redis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
* ## Related Components
4848
*
4949
* Redis clusters work together with other Stackattack components:
50-
* - [vpc](/components/vpc) - Provides secure private networking for Redis access
50+
* - [vpc](/components/vpc/) - Provides secure private networking for Redis access
5151
*
5252
* ## Costs
5353
*

packages/aws/src/components/s3-firehose.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* ## Related Components
5454
*
5555
* S3 firehoses work together with other Stackattack components:
56-
* - [bucket](/components/bucket) - Buckets are used to store the data that's written to the firehose.
56+
* - [bucket](/components/bucket/) - Buckets are used to store the data that's written to the firehose.
5757
*
5858
* ## Costs
5959
*

packages/aws/src/components/service-autoscaling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
* ## Related Components
4848
*
4949
* Autoscaling work together with other Stackattack components:
50-
* - [service](/components/service) - The autoscaling component is used to scale services based on Cloudwatch metrics.
50+
* - [service](/components/service/) - The autoscaling component is used to scale services based on Cloudwatch metrics.
5151
*
5252
* ## Costs
5353
*

packages/aws/src/components/service.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939
* ## Related Components
4040
*
4141
* Services work together with other Stackattack components:
42-
* - [cluster](/components/cluster) - Provides compute capacity for running services
43-
* - [vpc](/components/vpc) - Provides networking foundation with private/public subnets
44-
* - [load-balancer](/components/load-balancer) - Routes external traffic to services
42+
* - [cluster](/components/cluster/) - Provides compute capacity for running services
43+
* - [vpc](/components/vpc/) - Provides networking foundation with private/public subnets
44+
* - [load-balancer](/components/load-balancer/) - Routes external traffic to services
4545
*
4646
* ## Costs
4747
*
4848
* ECS service costs depend on the underlying compute resources and are **usage-based**:
4949
*
50-
* - **EC2 instances** - If using EC2 capacity providers, you pay for the underlying EC2 instances (~$0.0116/hour for t3.micro). The [cluster](/components/cluster) component manages auto-scaling groups that can scale to zero when no tasks are running.
50+
* - **EC2 instances** - If using EC2 capacity providers, you pay for the underlying EC2 instances (~$0.0116/hour for t3.micro). The [cluster](/components/cluster/) component manages auto-scaling groups that can scale to zero when no tasks are running.
5151
*
5252
* - **Fargate** - If using Fargate capacity providers, you pay per vCPU-hour (~$0.04048/vCPU/hour) and per GB-hour (~$0.004445/GB/hour). A 0.5 vCPU, 1GB task running 24/7 costs ~$15/month.
5353
*
@@ -56,7 +56,7 @@
5656
* - **CloudWatch Logs** - Log storage is ~$0.50/GB/month. Use the `logRetention` parameter to automatically delete old logs and control costs.
5757
*
5858
* Cost optimization strategies:
59-
* - Use the [cluster](/components/cluster) component's auto-scaling features to scale EC2 instances to zero during low usage
59+
* - Use the [cluster](/components/cluster/) component's auto-scaling features to scale EC2 instances to zero during low usage
6060
* - Set appropriate `logRetention` periods (default: 30 days)
6161
* - Consider spot instances for non-critical workloads through capacity provider configuration
6262
*
@@ -345,7 +345,7 @@ export interface ServiceArgs extends TaskDefinitionArgs {
345345
orderedPlacementStrategies?: pulumi.Input<
346346
pulumi.Input<aws.types.input.ecs.ServiceOrderedPlacementStrategy>[]
347347
>;
348-
/** Specify an auto-scaling configuration for your service. Cannot be used with `replicas`. See the [serviceAutoScaling](/components/service-autoscaling) component for argument documentation. */
348+
/** Specify an auto-scaling configuration for your service. Cannot be used with `replicas`. See the [serviceAutoScaling](/components/service-autoscaling/) component for argument documentation. */
349349
autoScaling?: Omit<ServiceAutoScalingArgs, "service">;
350350
}
351351

packages/aws/src/components/static-site.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
* ## Related Components
6262
*
6363
* Static sites work together with other Stackattack components:
64-
* - [bucket](/components/bucket) - Stores website files in S3
65-
* - [certificate](/components/certificate) - Provides SSL certificates for HTTPS domains
64+
* - [bucket](/components/bucket/) - Stores website files in S3
65+
* - [certificate](/components/certificate/) - Provides SSL certificates for HTTPS domains
6666
*
6767
* ## Costs
6868
*

0 commit comments

Comments
 (0)