michaelwittig Github contribution chart
michaelwittig Github Stats
michaelwittig Most Used Languages

Activity

08 Dec 2022

Michaelwittig

New Request

Can you also add in ISD calling code for each country like +1, +203, +91 , and if possible the mobile number format like (+91) 94321 87693, (+1) 808-808-8008,

Forked On 08 Dec 2022 at 01:03:31

Michaelwittig

duplicate of #300

Commented On 08 Dec 2022 at 01:03:31

Michaelwittig

add missing permissions

Pushed On 08 Dec 2022 at 01:02:33

Michaelwittig

fix

Pushed On 05 Dec 2022 at 04:28:44

Michaelwittig

feat: configure Redis maxmemory policy (closes #2)

Created On 05 Dec 2022 at 04:28:10
Create Branch
Michaelwittig In widdix/mastodon-on-aws Create Branchmaxmemory-policy

Michaelwittig

Host your own Mastodon instance on AWS

On 05 Dec 2022 at 04:27:55
Create Branch

Michaelwittig

ElastiCache redis cluster with secure firewall configuration, encryption, multi AZ, backup enabled, and alerting

On 05 Dec 2022 at 04:18:35

Michaelwittig

feat: support custom cache parameter group (#12)

Pushed On 05 Dec 2022 at 04:18:06

Michaelwittig

feat: support custom cache parameter group

Created On 05 Dec 2022 at 04:18:05

Michaelwittig

feat: support custom cache parameter group

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Forked On 05 Dec 2022 at 01:41:54

Michaelwittig

test

Commented On 05 Dec 2022 at 01:41:54
Issue Comment

Michaelwittig

Modify maxmemory policy to avoid Redis evicting Sidekiq data

Sidekiq complains about the Redis maxmemory policy and asks for a noeviction policy. Evaluate and implement.

Forked On 05 Dec 2022 at 01:29:50

Michaelwittig

depends on https://github.com/cfn-modules/elasticache-redis/pull/12

Commented On 05 Dec 2022 at 01:29:50

Michaelwittig

feat: support custom cache parameter group

Created On 05 Dec 2022 at 01:29:41
Create Branch
Michaelwittig In cfn-modules/elasticache-redis Create BranchcacheParameterGroupName.yml

Michaelwittig

ElastiCache redis cluster with secure firewall configuration, encryption, multi AZ, backup enabled, and alerting

On 05 Dec 2022 at 01:29:25

Michaelwittig

add missing permissions

Pushed On 05 Dec 2022 at 12:57:36
Issue Comment

Michaelwittig

Feature request: Enable RDS autoscaling

image

Monitoring my database free space...

Forked On 02 Dec 2022 at 07:23:18

Michaelwittig

Just to ensure that we are on the same page. You talk about storage autoscaling, right?

Commented On 02 Dec 2022 at 07:23:18
Issue Comment

Michaelwittig

503 error on accessing the webpage

The cloudformation template worked great. I approved the SNS message from my email. I also sent a request to get SES into production. But I was getting a 503 on kikrr.social. I noticed that the WebService task tried to start several times but couldn't. The only cloudwatch logs in Alarm are the following:

mastodon-on-aws-Alb-14D3IVKFCK6QL-HTTPCodeELB5XXTooHighAlarm-AB5QEJNE5UMD

mastodon-on-aws-Database-129D3MPJPEB2S-Instance-ET9T36H2L845-AlarmCPUCreditBalanceTooLow-YMN7OELIO1UB

I downloaded the logs for the failed WebService, https://gist.github.com/surfd4wg/dc664827e696907344353e80ae4bd245.

Looking for some help. Thank you.

Forked On 02 Dec 2022 at 01:36:17

Michaelwittig

@surfd4wg yes :+1:

Commented On 02 Dec 2022 at 01:36:17
Issue Comment

Michaelwittig

503 error on accessing the webpage

The cloudformation template worked great. I approved the SNS message from my email. I also sent a request to get SES into production. But I was getting a 503 on kikrr.social. I noticed that the WebService task tried to start several times but couldn't. The only cloudwatch logs in Alarm are the following:

mastodon-on-aws-Alb-14D3IVKFCK6QL-HTTPCodeELB5XXTooHighAlarm-AB5QEJNE5UMD

mastodon-on-aws-Database-129D3MPJPEB2S-Instance-ET9T36H2L845-AlarmCPUCreditBalanceTooLow-YMN7OELIO1UB

I downloaded the logs for the failed WebService, https://gist.github.com/surfd4wg/dc664827e696907344353e80ae4bd245.

Looking for some help. Thank you.

Forked On 02 Dec 2022 at 01:03:30

Michaelwittig

There is no such thing as a container type. You can tweak

Cpu: '0.25'
Memory: '1' 

in the template you downloaded and update.

Commented On 02 Dec 2022 at 01:03:30

Michaelwittig

update name of Kyrgyzstan and Taiwan

Created On 02 Dec 2022 at 12:52:44

Michaelwittig

update name of Kyrgyzstan and Taiwan

Kyrgyzstan recently started trying to get rid of the Kyrgyzstan name and use Kyrgyz Republic by default. Taiwan is a separate country and even non-English translations don't mention "China" in the name of Taiwan.

Forked On 02 Dec 2022 at 12:52:44

Michaelwittig

see #255

Commented On 02 Dec 2022 at 12:52:44
Issue Comment

Michaelwittig

Alb cannot be created in us-west-1a

I'll admit that this sounds very unlikely, but CloudFormation is reporting that an Application Load Balancer isn't available in us-west-1a:

The following Availability Zones us-west-1a cannot be associated with a load balancer. Please try a different Availability Zone. (Service: AmazonElasticLoadBalancing; Status Code: 400; Error Code: ValidationError; Request ID: 93e9babc-7135-4d02-b79a-8cfbc27642b2; Proxy: null)

When I create a target group and load balancer by hand, I get the same error:

The following Availability Zones us-west-1a cannot be associated with a load balancer. Please try a different Availability Zone.

I'm able to create an ALB if I remove us-west-1a from the list of AZs. Any guidance on how to set up the ALB and target groups manually?

Forked On 02 Dec 2022 at 12:50:20

Michaelwittig

Fixing this is not easy. The way we select the AZs during VPC creation is via CloudFormation's Fn::GetAZs.

There is no way to configure Fn::GetAZs to only return AZs with certain features. E.g., we would need AZs that support ALBs as well as t4g RDS instances.

Commented On 02 Dec 2022 at 12:50:20
Issue Comment

Michaelwittig

Nav Links Broken - stuck on account admin page

image

  1. create the admin user and logged in
  2. can see the admin nav links on left side nav bar
  3. none of the site nav links work - the page just refreshes and shows this error; also can't return to home feed
  4. sidekiq and pgHero links do work

Forked On 02 Dec 2022 at 12:46:36

Michaelwittig

@jbold is this still an issue?

Commented On 02 Dec 2022 at 12:46:36
Issue Comment

Michaelwittig

Enable auto-scaling for web and streaming API

Evaluate and implement auto-scaling for ECS services web and streaming API.

Forked On 02 Dec 2022 at 12:43:45

Michaelwittig

I opened up #20 for sidekiq. This issue is about auto-scaling for web and streaming API.

Enabling auto-scaling is not the big deal here. What we need is a good metric to trigger scale out/in. And we need a test workload to test tis with. I have no idea how we can simulate mastodon load. If anyone here is reading this running an instance with enough users to benefit rom auto-scaling please let us know.

Commented On 02 Dec 2022 at 12:43:45
Issue Comment

Michaelwittig

503 error on accessing the webpage

The cloudformation template worked great. I approved the SNS message from my email. I also sent a request to get SES into production. But I was getting a 503 on kikrr.social. I noticed that the WebService task tried to start several times but couldn't. The only cloudwatch logs in Alarm are the following:

mastodon-on-aws-Alb-14D3IVKFCK6QL-HTTPCodeELB5XXTooHighAlarm-AB5QEJNE5UMD

mastodon-on-aws-Database-129D3MPJPEB2S-Instance-ET9T36H2L845-AlarmCPUCreditBalanceTooLow-YMN7OELIO1UB

I downloaded the logs for the failed WebService, https://gist.github.com/surfd4wg/dc664827e696907344353e80ae4bd245.

Looking for some help. Thank you.

Forked On 02 Dec 2022 at 12:39:36

Michaelwittig

@surfd4wg our own instance runs with 2 users so we can not say that we have experience running a mastodon instance with 1000 users. Do you plan to run a larger instance? The obvious issue at the moment is #1 and you also want to change the cache/database types to something bigger and not a t* family member, not cache.t4g.micro or 1db.t4g.micro`.

Commented On 02 Dec 2022 at 12:39:36

Michaelwittig

Discourse: retry for db:migrate

Unfortunately, db:migrate runs into a timeout/error from time to time causing our tests to fail. I've added a simple retry mechanism and hope this will stabilise things. Nothing but duck tape if you will.

Merged On 02 Dec 2022 at 12:31:03

Michaelwittig

Commented On 02 Dec 2022 at 12:31:03

Michaelwittig

feat: enable ALB access logs

Created On 02 Dec 2022 at 12:28:08
Create Branch
Michaelwittig In widdix/mastodon-on-aws Create Branchaccess-logs

Michaelwittig

Host your own Mastodon instance on AWS

On 02 Dec 2022 at 12:27:57