-
Notifications
You must be signed in to change notification settings - Fork 271
feat(functions): add general faq questions #6111
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
Open
RemyMach
wants to merge
2
commits into
main
Choose a base branch
from
sls-fnc-faq-general-questions
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -275,6 +275,48 @@ Some products are not listed but for example, on specific use cases Secret Manag | |||||
|
|
||||||
| Scaleway Serverless Functions support [Virtual Private Cloud (VPC)](/vpc/) and can be attached to a Private Network, which allows you to securely connect your resources in an isolated environment. Refer to the [dedicated documentation](/serverless-functions/how-to/use-private-networks/) for more information. | ||||||
|
|
||||||
| ## Security | ||||||
|
|
||||||
| ### More generally, what measures has Scaleway put in place to secure this service and ensure its availability? | ||||||
|
|
||||||
| As mentioned above, the primary security measure we implement is strong isolation between customer functions. | ||||||
|
|
||||||
| Regarding availability, there is always at least one team member responsible for the proper operation of the infrastructure from Monday to Friday, 9:00 AM to 6:30 PM. | ||||||
| We also have trained SREs on call for part of the product’s infrastructure. | ||||||
|
|
||||||
| From a security standpoint, this service provides the ability to: | ||||||
|
|
||||||
| - Isolate functions from one another | ||||||
| - Protect private resources (IAM / JWT) | ||||||
| - Connect to a private network, if configured | ||||||
| - Securely store environment variables and secrets | ||||||
| - Secure request routing | ||||||
| - Provide logs and metrics to help customers diagnose issues | ||||||
|
|
||||||
| ### Are data stored on ephemeral storage encrypted at rest? | ||||||
|
|
||||||
| At the moment, we do not provide encryption at rest on the filesystem of customer functions. However, the underlying volumes comply with our security standards. For more details, please refer to: | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| [https://www.scaleway.com/en/security-and-resilience/](https://www.scaleway.com/en/security-and-resilience/) | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| Within customer functions: | ||||||
|
|
||||||
| - In sandbox v2, everything under `/tmp` is stored in RAM. | ||||||
| - Everything else is written to disk, but access is restricted to authorized personnel only. Please refer to the question *Who are the authorized users?* | ||||||
|
|
||||||
| ### Is there any antimalware or antivirus system in place for functions to secure the environment? | ||||||
|
|
||||||
| We do not use any antimalware or antivirus system to secure customer environments. | ||||||
| In the future, the Scaleway registry will include an image vulnerability scanning system. | ||||||
|
|
||||||
| The environment is secured by the fact that each customer function runs in an isolated system. For isolation, we use **Kata Containers** and **gVisor**, corresponding to sandbox v1 and sandbox v2 respectively, which allow us to strongly isolate customer functions. | ||||||
|
|
||||||
| As a result, application security remains the responsibility of the customer. | ||||||
|
|
||||||
| ### Who are the authorized users (internal to Scaleway and possibly external) who can access applications running on serverless functions? | ||||||
|
|
||||||
| The only users with infrastructure-level access to customer functions are developers working within the team or on the team’s underlying infrastructure. | ||||||
| Even though such access may be possible for debugging purposes, it will never be performed without the customer’s explicit authorization. | ||||||
|
|
||||||
| ## Support and troubleshooting | ||||||
|
|
||||||
| ### How to reduce cold-start of Serverless Functions? | ||||||
|
|
||||||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.