-
Notifications
You must be signed in to change notification settings - Fork 55
chore(examples/serverless): update examples #706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0c08557
chore(examples/serverless): remove sample orchestrator deployment
francesco-racciatti 137cef5
chore(examples/serverless): remove sample orchestrated workload-agent…
francesco-racciatti 99fdc4e
chore(examples/serverless): rename security groups
francesco-racciatti 8b77070
chore(example/serverless): update resources
francesco-racciatti 0e2c7b5
chore(example/serverless): rename instrumented_load to resources
francesco-racciatti f92b495
chore(example/serverless): update providers and versions
francesco-racciatti d632212
chore(examples/serverless): do not default the region
francesco-racciatti 79ceb10
chore(example/serverless): simplify source tree
francesco-racciatti 15993dd
doc(example/serverless): fix README
francesco-racciatti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # Workload with Serverless Workload Agent | ||
| This example deploys a cluster running a workload application secured by the Serverless Workload Agent. | ||
| The workload used is [falcosecurity/event-generator](https://github.com/falcosecurity/event-generator), which produces synthetic suspicious actions that will trigger Sysdig managed policies. | ||
|
|
||
|
|
||
| ## Prerequisites | ||
| The following prerequisites are required to deploy this sample: | ||
| - `VPC ID`, the ID of an already existing VPC | ||
| - `Subnet ID`, the ID of an already existing Subnet within the VPC above | ||
|
|
||
|
|
||
| ## Usage | ||
| ``` | ||
| $ terraform init | ||
| $ terraform apply | ||
| ``` | ||
|
|
||
|
|
||
| ## Components | ||
| | **Component** | **Name** | **Description** | | ||
| |--------------------|----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| | ECS Cluster | `<prefix>-cluster` | The cluster containing the ECS Service below. | | ||
| | ECS Service | `<prefix>-service` | The service running the TaskDefinition below. | | ||
| | ECS TaskDefinition | `<prefix>-task-definition` | The task definition including a workload container being secured by the Serverless Agent. | | ||
| | ECS SecurityGroup | `<prefix>-security-group` | The security group ensuring connectivity to the Serverless Agent. This security group has no restrictions applied and is intended for testing only. | | ||
|
|
||
|
|
||
| ## Files | ||
| | **File** | **Description** | | ||
| |----------------|----------------------------------------------------------------------------------------------------------| | ||
| | `output.tf` | Contains the reference to the cluster, service, and task revision being deployed. | | ||
| | `providers.tf` | Contains the configuration parameters for the providers. | | ||
| | `resources.tf` | Contains the resources to deploy, including the task definition being secured with the Serverless Agent. | | ||
| | `variables.tf` | Contains the configuration parameters for AWS and the Serverless Agent. | | ||
| | `versions.tf` | Defines the version of the providers. | |
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
examples/serverless-agent/fargate/orchestrator/orchestrator.tf
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
examples/serverless-agent/fargate/orchestrator/variables.tf
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
examples/serverless-agent/fargate/workload-legacy/README.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.