Now, I'm using Azure Functions & Azure Storage. Recently, while checking the cost of resources, I found out that there was an unexpected cost in Storage. The following image shows the cost list for the storage account. (Units: Japanese yen.) You can see that the write operation of file sharing incurs a cost.
Checking the metrics of File sharing, we see that a transaction has occurred.
However, since there is no access to File sharing in the code, and the function is executed only a few times a day, I don't know why this transaction is occurring. Does anyone know of a way to mitigate this cost?
The following is an summary of Fucntions.
host.json:
{
"version": "2.0",
"logging": {
"fileLoggingMode": "never",
"logLevel": {
"default": "None"
},
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[1.*, 2.0.0)"
}
}
I referred to the related article, but could not solve the problem.
Azure functions use Azure Storage to manage keys/run state/store code. This is outlined here: Storage Considerations
This is likely the cost associated with these operations which can not be mitigated.