LoginSignup

Setting up Tone.js on button click still fails with : The AudioContext was not allowed to start

Asked 8 months agoAnswer 0Votes 0

0

My question is probably a Docker networking one, but I'm not entirely sure, it may be a broader AWS question.

We are migrating a part of the company infrastructure to AWS and it's been setup by an external vendor. They have setup an MS SQL RDS server that hosts our databases on an isolated subnet. So, what we need to do is to port-forward port 1433 of the RDS server to the computer we are working from (whether it's our own laptop or a local VM). We do this by communicating with a bastion host EC2 instance (that runs on the same subnet) with the command: aws ssm start-session --region $region --target $bastionID --document-name AWS-StartPortForwardingSessionToRemoteHost --parameters portNumber="$remoteport",localPortNumber="$localport",host="$remotehost". Then, we are able to connect to the database, by simply giving localhost:1433 as the address.

The above command is running in a terminal and times out after an hour, which is the default.

In order to test on AWS with all the cloud resources, we need to push to our private repository, on a branch that is part of a deployment/pipeline. That deployment will then compile a docker image. That docker image will be pushed to ECR (Elastic Container Registry). Then, an ECS (Elastic Container Service) will spawn a new container of the new image and then we'll be able to see if our code changes worked or not. All this is done on the development account/env.



0 Answers


Your Answer