Can an Azure Function access internet?
... or, rather, what's involved in arranging that access?
I'd like to try out AWS Lambda and Azure Functions, and have in mind a toy application which would on schedule call a Web API - or scrape a web page - grab some data, and save it to file. I worry that the "internet access" part might not be straightforward; initial googling suggested that for AWS Lambda, I would need to obtain some "NAT" (?), at $30 pm, and for Azure Functions, I did not find anything. Can anyone advise?
amazon-web-services azure aws-lambda
add a comment |
... or, rather, what's involved in arranging that access?
I'd like to try out AWS Lambda and Azure Functions, and have in mind a toy application which would on schedule call a Web API - or scrape a web page - grab some data, and save it to file. I worry that the "internet access" part might not be straightforward; initial googling suggested that for AWS Lambda, I would need to obtain some "NAT" (?), at $30 pm, and for Azure Functions, I did not find anything. Can anyone advise?
amazon-web-services azure aws-lambda
1
You don't need to do anything specific to get outbound internet access. You'll only pay for the time your function runs. Where you save the scraped data to is something to consider. If this is just a test then save it to the local file system of the function but be aware that it may not be persistent. If you need to persist it, then write it to object storage (like S3).
– jarmod
Nov 20 '18 at 16:46
add a comment |
... or, rather, what's involved in arranging that access?
I'd like to try out AWS Lambda and Azure Functions, and have in mind a toy application which would on schedule call a Web API - or scrape a web page - grab some data, and save it to file. I worry that the "internet access" part might not be straightforward; initial googling suggested that for AWS Lambda, I would need to obtain some "NAT" (?), at $30 pm, and for Azure Functions, I did not find anything. Can anyone advise?
amazon-web-services azure aws-lambda
... or, rather, what's involved in arranging that access?
I'd like to try out AWS Lambda and Azure Functions, and have in mind a toy application which would on schedule call a Web API - or scrape a web page - grab some data, and save it to file. I worry that the "internet access" part might not be straightforward; initial googling suggested that for AWS Lambda, I would need to obtain some "NAT" (?), at $30 pm, and for Azure Functions, I did not find anything. Can anyone advise?
amazon-web-services azure aws-lambda
amazon-web-services azure aws-lambda
edited Nov 20 '18 at 20:11
John Rotenstein
68.2k775119
68.2k775119
asked Nov 20 '18 at 13:49
Dimitri ShvorobDimitri Shvorob
1061214
1061214
1
You don't need to do anything specific to get outbound internet access. You'll only pay for the time your function runs. Where you save the scraped data to is something to consider. If this is just a test then save it to the local file system of the function but be aware that it may not be persistent. If you need to persist it, then write it to object storage (like S3).
– jarmod
Nov 20 '18 at 16:46
add a comment |
1
You don't need to do anything specific to get outbound internet access. You'll only pay for the time your function runs. Where you save the scraped data to is something to consider. If this is just a test then save it to the local file system of the function but be aware that it may not be persistent. If you need to persist it, then write it to object storage (like S3).
– jarmod
Nov 20 '18 at 16:46
1
1
You don't need to do anything specific to get outbound internet access. You'll only pay for the time your function runs. Where you save the scraped data to is something to consider. If this is just a test then save it to the local file system of the function but be aware that it may not be persistent. If you need to persist it, then write it to object storage (like S3).
– jarmod
Nov 20 '18 at 16:46
You don't need to do anything specific to get outbound internet access. You'll only pay for the time your function runs. Where you save the scraped data to is something to consider. If this is just a test then save it to the local file system of the function but be aware that it may not be persistent. If you need to persist it, then write it to object storage (like S3).
– jarmod
Nov 20 '18 at 16:46
add a comment |
3 Answers
3
active
oldest
votes
Both AWS Lambda and Azure Functions can access internet by default.
Note: If you do advance configurations, for example putting an AWS Lambda function inside a VPC, that is where you need to use a NAT Gateway (Paying additionally) to access the internet.
add a comment |
In addition to @4c74356b41 answer:
Your search might not have shown what you have searched for.
AWS Lambda functions don't have internet access only when they are inside VPC.
By default, Lambdas aren't created in any VPC so they have Internet access.
What you have found on Google is only true for AWS Lambda functions inside A VPC.
sorry, no idea about aws
– 4c74356b41
Nov 20 '18 at 19:39
add a comment |
Azure function got externaloutbound internet access. I'm not even sure how you would block it. So yes. its got that.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53394481%2fcan-an-azure-function-access-internet%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Both AWS Lambda and Azure Functions can access internet by default.
Note: If you do advance configurations, for example putting an AWS Lambda function inside a VPC, that is where you need to use a NAT Gateway (Paying additionally) to access the internet.
add a comment |
Both AWS Lambda and Azure Functions can access internet by default.
Note: If you do advance configurations, for example putting an AWS Lambda function inside a VPC, that is where you need to use a NAT Gateway (Paying additionally) to access the internet.
add a comment |
Both AWS Lambda and Azure Functions can access internet by default.
Note: If you do advance configurations, for example putting an AWS Lambda function inside a VPC, that is where you need to use a NAT Gateway (Paying additionally) to access the internet.
Both AWS Lambda and Azure Functions can access internet by default.
Note: If you do advance configurations, for example putting an AWS Lambda function inside a VPC, that is where you need to use a NAT Gateway (Paying additionally) to access the internet.
answered Nov 20 '18 at 15:46
AshanAshan
10.2k21835
10.2k21835
add a comment |
add a comment |
In addition to @4c74356b41 answer:
Your search might not have shown what you have searched for.
AWS Lambda functions don't have internet access only when they are inside VPC.
By default, Lambdas aren't created in any VPC so they have Internet access.
What you have found on Google is only true for AWS Lambda functions inside A VPC.
sorry, no idea about aws
– 4c74356b41
Nov 20 '18 at 19:39
add a comment |
In addition to @4c74356b41 answer:
Your search might not have shown what you have searched for.
AWS Lambda functions don't have internet access only when they are inside VPC.
By default, Lambdas aren't created in any VPC so they have Internet access.
What you have found on Google is only true for AWS Lambda functions inside A VPC.
sorry, no idea about aws
– 4c74356b41
Nov 20 '18 at 19:39
add a comment |
In addition to @4c74356b41 answer:
Your search might not have shown what you have searched for.
AWS Lambda functions don't have internet access only when they are inside VPC.
By default, Lambdas aren't created in any VPC so they have Internet access.
What you have found on Google is only true for AWS Lambda functions inside A VPC.
In addition to @4c74356b41 answer:
Your search might not have shown what you have searched for.
AWS Lambda functions don't have internet access only when they are inside VPC.
By default, Lambdas aren't created in any VPC so they have Internet access.
What you have found on Google is only true for AWS Lambda functions inside A VPC.
answered Nov 20 '18 at 13:55
AlexKAlexK
824413
824413
sorry, no idea about aws
– 4c74356b41
Nov 20 '18 at 19:39
add a comment |
sorry, no idea about aws
– 4c74356b41
Nov 20 '18 at 19:39
sorry, no idea about aws
– 4c74356b41
Nov 20 '18 at 19:39
sorry, no idea about aws
– 4c74356b41
Nov 20 '18 at 19:39
add a comment |
Azure function got externaloutbound internet access. I'm not even sure how you would block it. So yes. its got that.
add a comment |
Azure function got externaloutbound internet access. I'm not even sure how you would block it. So yes. its got that.
add a comment |
Azure function got externaloutbound internet access. I'm not even sure how you would block it. So yes. its got that.
Azure function got externaloutbound internet access. I'm not even sure how you would block it. So yes. its got that.
answered Nov 20 '18 at 13:50
4c74356b414c74356b41
24.7k42050
24.7k42050
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53394481%2fcan-an-azure-function-access-internet%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
You don't need to do anything specific to get outbound internet access. You'll only pay for the time your function runs. Where you save the scraped data to is something to consider. If this is just a test then save it to the local file system of the function but be aware that it may not be persistent. If you need to persist it, then write it to object storage (like S3).
– jarmod
Nov 20 '18 at 16:46