mspnp / samples Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://azure.com/architecture
License: MIT License
Home Page: https://azure.com/architecture
License: MIT License
Dear MS PNP folks,
first of all, a "thanks" for the samples.
There are a few issues with the hub&spoke sample under "https://github.com/mspnp/samples/blob/master/solutions/azure-hub-spoke/bicep/main.bicep":
And on top of this, I believe these changes would make sense, when already updating the above values:
If you are interested, I would fork, make the changes, and open a pull request, if you like!
I just built the SLA calculator or estimator, it is up and running but the search bar does not seem to work, it does not show any service that you search for.
Here are the version I am currently using
npm -v
8.11.0
node -v
v16.15.1
I have found this app which is linked from https://docs.microsoft.com/en-us/azure/architecture/framework/resiliency/business-metrics#understand-service-level-agreements, but I do not know what a React app is or how to run it, and the Readme isn't helpful.
The link to Create React App tells me how to create one but I just want a set of instructions telling me how to run this app.
Please could some be added??
Prueba y aprendizaje está herramienta
Relating to this sample:
https://github.com/mspnp/samples/blob/master/solutions/azure-hub-spoke/azuredeploy.json
I've attempted to deploy it a few times, and it fails.
The error message is odd. It fails to deploy the bastion service on the error "another operation is in progress" on a dependent resource.
Redeploying it fails too because it uses a GUID() as a resource name, and attempts to create the Azure Firewall Workbook again when one already exists. Another error. Deleting the workbook and redeploying again causes another error on attempting to delete the AzureFirewallSubnet while the firewall on it already exists.
Deleting everything and deploying the whole thing again causes another Bastion service error. Same as the last time.
Perhaps someone else can try deploying this and see if it's just me.
The bicep sample does not contain the provisioning of the VPNGateway.
Hi,
I am using the SLA Estimation tool to calculate the composite SLA for a set of services used in an user-flow.
The composite SLA for 1 region is calculated by the tool accurately
VMs in Az (99.99%) * Az Traffic Manager (99.99%) * Az DNS (100%) * App Gateway (99.95%)* AAD (99.99%) = 99.92%
According to the documentation (ref: https://docs.microsoft.com/en-us/azure/architecture/framework/resiliency/business-metrics#slas-for-multiregion-deployments) a Multi-Region deployment can be calculated using the following formula
The combined SLA for two regions = (1 − (1 − 0.9995) ^ 2) = 99.999975%
The combined SLA for four regions = (1 − (1 − 0.9995) ^ 4) = 99.999999%
using the formula to calculate the SLA for 2 region deployment, the value should be 99.999936%
The tool displays the same value as that of the Single Region Deployment unless one the following value(s) is changed
I changed the value of the Global Key to "yes" and the tool was able to calculate the SLA accordingly.
getResetTiers() {
return [
{ name: 'Global', pairedRegion: 'no' },
{ name: 'Web', pairedRegion: 'no' },
{ name: 'Api', pairedRegion: 'no' },
{ name: 'Data', pairedRegion: 'no' },
{ name: 'Security', pairedRegion: 'no' },
{ name: 'Network', pairedRegion: 'no' },
]
}
The paired regions are used by default for Storage RA-GRS tiers, that is by design. In the same way, the suggestion is to use a paired region wherever possible. However, my understanding is that irrespective of the secondary region being a paired region the SLO/SLA should increase because of the global fail-over possibilities.
Also, if there is a reason that this array dictates the calculation of the Multi-Region Composite SLA, it would be really helpful if the documentation is updated accordingly. Also, what should the end user change in the UI to get the calculation right.
The calculation code is in the MainPanel.js file, in the CalculateSLAMultiRegion function
if(tier != undefined)
regionOption = tier.pairedRegion;
const sla = services[i].service.sla/100;
const value = **regionOption === 'yes' ? 1-((1-sla) * (1-sla)) : sla;**
total = total * value;
Hello,
i use npm 7.6.0 and i try to buld SLAEstimator but it fails
I go to
/samples/Reliability/SLAEstimator/SLAEstimator/SLAEstimator/ClientApp
run npm install
npm start
then i got:
Failed to compile.
./src/components/Styles.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./src/components/Styles.css)
Error: Can't resolve '/images/downarrow.png' in '/home/damian/samples/Reliability/SLAEstimator/SLAEstimator/SLAEstimator/ClientApp/src/components'
What can i do ?
Best regards
Damian
Deployment of the solutions/secure-hybrid-network template fails with 2 errors of the type "The template output 'vpnIp' is not valid: The language expression property 'bgpSettings' doesn't exist"
Does anybody know how to resolve this?
https://github.com/mspnp/samples/tree/main/solutions/secure-hybrid-network
In https://github.com/mspnp/samples/blob/main/solutions/azure-hub-spoke-connected-group/bicep/modules/avnm.bicep, line 118 and 149 with displayname should not be included. Per https://learn.microsoft.com/en-us/azure/templates/microsoft.network/2022-05-01/networkmanagers/connectivityconfigurations?pivots=deployment-language-bicep not part of schema.
Hi,
The SLA Data JSON file carries an old value (may be), for the AAD service
Reference:
"CategoryName": "Identity AD",
"Services": [ {
"CategoryName": "Identity AD",
"Name": "Active Directory",
"Notes": "Azure AD Basic or Premium required for SLA",
"ImageFile": "activedirectory.png",
"SLA": 99.900,
"SlaAgreementUrl": "https://azure.microsoft.com/support/legal/sla/active-directory" }
The value should be 99.99%. The provided SlaAgreementUrl has the updated value.
The deployment of this sample fails because the Free SKU for Log Analytics Workspace no longer exists.
Hello,
I build successfully but when I try to run the application I have a message indicating that I miss the file index.html. You will find the details (screenshots) in attachment.
sla_estimator_issue.docx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.