How to update AWS EC2 Debian 10 to 11?

I am want to update Debian 10 to 11 running on the AWS EC2 server. I am following your guide:

But I don’t know what to put in /etc/apt/sources.list file:

deb http://cdn-aws.deb.debian.org/debian buster main
deb http://security.debian.org/debian-security buster/updates main
deb http://cdn-aws.deb.debian.org/debian buster-updates main

#deb http://deb.debian.org/debian buster main
#deb http://security.debian.org/debian-security buster/updates main

Can you help me?

Here is what you need to match aws CDN for when updating from buster to bullseye:

deb http://cdn-aws.deb.debian.org/debian bullseye main
deb http://security.debian.org/debian-security bullseye-security main
deb http://cdn-aws.deb.debian.org/debian bullseye-updates main

Then rest of the tutorial is same. Here is how default EC2 /etc/apt/sources.list looks:

deb http://cdn-aws.deb.debian.org/debian bullseye main
deb-src http://cdn-aws.deb.debian.org/debian bullseye main
deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main
deb http://cdn-aws.deb.debian.org/debian bullseye-updates main
deb-src http://cdn-aws.deb.debian.org/debian bullseye-updates main
deb http://cdn-aws.deb.debian.org/debian bullseye-backports main
deb-src http://cdn-aws.deb.debian.org/debian bullseye-backports main