CDCgov / prime-devops

Apache License 2.0
4 stars 2 forks source link

Access to create load testing resources in Azure #130

Closed mkalish closed 3 weeks ago

mkalish commented 4 weeks ago

I get a permissions error when creating a load test resource (both with my normal and SU account). This is the steps I follow:

  1. Go to https://portal.azure.com/#view/HubsExtension/BrowseResource/resourceType/Microsoft.LoadTestService%2FLoadTests
  2. Create a new load test
  3. Create it in prime-data-hub-test
  4. Give it a name
  5. Click create

I get an authorization failure

JosiahSiegel commented 4 weeks ago

Subscription isn't registered for load test. I'll create a CDC ticket.

The subscription is not registered to use namespace 'Microsoft.LoadTestService'.

JosiahSiegel commented 4 weeks ago

Ticket created:

We’ve approved your requested item: • Request OMHS technical assistance with existing Azure or AWS cloud services. Details • View your Requested Item: RITM0312126 • Created: 06/04/2024 10:30:04 EDT • Current state: Open • Last updated: 06/04/2024 10:30:05 EDT

JosiahSiegel commented 3 weeks ago

@mkalish we'll need a response for the CDC:

From: Carmichael, Stuart (CDC/OCOO/OCIO/DSO) (CTR) vdx8@cdc.gov Sent: Wednesday, June 5, 2024 8:58 AM To: Siegel, Josiah (CDC/IOD/OPHDST) tey1@cdc.gov Cc: Vongsamphanh, Boun (CDC/OCOO/OCIO/DSO) (CTR) nni8@cdc.gov; Sands, Robert (Bob) (CDC/OCOO/OCIO/DSO) iih3@cdc.gov Subject: RE: SCTASK0326852 assigned to L3-Virtual-CDC Enterprise Cloud Services. Item Cloud Services Request , Cloud Technical Assistance

Josiah,

We are trying to avoid cost over runs that we have seen in the past from load testing. Can you give a bit more detail into the tests you will be running, cost expectation, and timeframe (i.e. will this be ongoing or a short time frame test)? Our intention would be to enable the provider and let you run your testing, then disable once finished. Also just want to ensure its not running over a weekend and not being monitored where we come back to a large cost increase.

Thanks,

Stuart Carmichael OMHS MSP Infrasturcture Engineer | Peraton Contractor for Infrastructure Services Branch (ISB) Digital Services Office (DSO) Office of the Chief Information Officer (OCIO) Office of the Chief Operating Officer (OCOO) mailto:vdx8@cdc.gov | 404-498-1070 office | 770-633-4018 cell

mkalish commented 3 weeks ago

@JosiahSiegel I think the response now that access is needed in order to produce the POC which will inform the exact load testing configurations we intend to run. I would expect costs to be minimal since I intend to run it for the shortest amount of time to produce metrics that I can use as talking points with the product team.

JosiahSiegel commented 3 weeks ago

They'll want to know what kind of schedule, etc for the load testing outside POC

mkalish commented 3 weeks ago

@JosiahSiegel That's part of what we need access for to start to make those determinations. We can definitely present our final plan once all the research is done?

JosiahSiegel commented 3 weeks ago

They are willing to enable for a time range. How many days would you like to request?

mkalish commented 3 weeks ago

@JosiahSiegel Two weeks would be great if they're ok with that, but I could probably make do with one.

JosiahSiegel commented 3 weeks ago

@mkalish it should be enabled now:

The Microsoft.LoadTestService provider has been enabled for the subscription. We will however disable over the weekends just to prevent possible issues while no one is watching. I will follow up in 2 weeks to make sure you are done or let me know if finished early.

JosiahSiegel commented 3 weeks ago

validated load testing can now be created (for 2 weeks): image