TITLE: Infinite topological direct sum of amenable Banach algebra
QUESTION [6 upvotes]: Is an infinite topological direct sum of amenable Banach algebras amenable again?
Can you give me a good reference about this notion?
Thanks

REPLY [8 votes]: The OP has now clarified that he or she is asking about $c_0$-direct sums. To answer the question we need the notion of the amenability constant of a Banach algebra. Everything that follows is probably "folklore", in the sense that
(i) Johnson knew how to do it in 1972 but, due to the different culture at the time of mathematical publication, did not bother formally writing it down in his 1972 monograph Cohomology in Banach Algebras or his Amer J. Math article of the same year;
(ii) successive generations of researchers, who take seriously the study of amenability of Banach algebras, will almost surely have worked these results out for themselves during their own studies.
Actually, this result might also be somewhere in Runde's book, but I haven't checked. (UPDATE 2015-11-10: Tomasz Kania has pointed out that this is Corollary 2.3.19 in Runde's Lectures on Amenability.)
Definition. Given an amenable Banach algebra $B$, the amenability constant of $B$ is defined to be 
$${\rm AM}(B):=\inf \{ \Vert M \Vert_{(B\widehat\otimes B)^{**}}\;\; \colon \;\;\hbox{$M$ is a virtual diagonal for $B$}\}. $$
(By weak-star compactness, the infimum is actually attained.) We adopt the convention that if $B$ is a non-amenable Banach algebra, ${\rm AM}(B)=+\infty$.
Remark 1.
It is an easy exercise to show that if $q:A\to B$ is a surjective homomorphism of Banach algebras then ${\rm AM}(B)\leq \Vert q\Vert^2{\rm AM}(A)$.
Lemma 2. Suppose $A$ is a Banach algebra and $(B_i)_{i\in \Lambda}$ is a family of closed subalgebras such that $\bigcup_{i\in\Lambda} B_i$ is dense in $A$. Then ${\rm AM}(A)\leq \sup_{i\in\Lambda} {\rm AM}(B_i)$.
Note that since closed subalgebras of ${\bf M}_2({\mathbb C})$ can be non-amenable, the inequality in this lemma is usually not an equality.
Outline of the proof of Lemma 2. We may assume the RHS of the inequality is finite, bounded above by $C$ say; otherwise there is nothing to prove. Consider $(M_i)_{i\in\Lambda}$ where $M_i$ is a virtual diagonal for $B_i$ such that ${\rm AM}(B_i)=\Vert M_i \Vert$. Then $(M_i)$ is a net in $(A\widehat{\otimes} A)^{**}$, bounded by $C$; take any weak-star cluster point $M$. Then $\Vert M\Vert\leq C$ and one can check $M$ is indeed a virtual diagonal for $A$. QED.
Lemma 3.
Let $A_1$ and $A_2$ be Banach algebras, and let $B=A_1\oplus_\infty A_2$ i.e. with the norm $\Vert (a_1,a_2)\Vert := \max (\Vert a_1\Vert, \Vert a_2\Vert)$.
Then ${\rm AM}(B)= \max \{{\rm AM}(A_1), {\rm AM}(A_2)\}$.
Proof of lemma 3. Since there are contractive, surjective algebra homomorphisms $q_j:B\to A_j$ ($j=1,2$) we have ${\rm AM}(B)\geq \max \{{\rm AM}(A_1), {\rm AM}(A_2)\}$ by Remark 1. Conversely, using the contractive embedding
$$ (A_1\widehat\otimes A_1) \oplus_\infty (A_2\widehat\otimes A_2) \to (A_1\oplus_\infty A_2)\widehat\otimes(A_1\oplus_\infty A_2) $$
and the corresponding embedding at the level of biduals, we can combine a virtual diagonal $M_1$ for $A_1$ and a virtual diagonal $M_2$ for $A_2$ to get a virtual diagonal $M$ for $A$, which satisfies $\vert M \Vert \leq \max( \Vert M_1\Vert, \Vert M_2\Vert)$. QED.
Proposition. Let $(A_n)_{n=1}^\infty$ be a sequence of Banach algebras, and let $A=c_0{\rm-}\bigoplus_{n=1}^\infty A_n$. Then 
${\rm AM}(A) = \sup_n {\rm AM}(A_n) <\infty$.
Proof that LHS ≥ RHS. This is like the proof of Lemma 2, using the contractive surjective homomorphisms $A\to A_n$ for $1\leq n\leq\infty$, and I omit the details.
Proof that LHS ≤ RHS. Let $C=\sup_n {\rm AM}(A_n)$; we may assume $C<\infty$, otherwise there is nothing to prove. Now let $B_n = A_1 \oplus \dots \oplus A_n$. By Lemma 3 and induction we know that ${\rm AM}(B_n)\leq C$, for each $n$. Since $\bigcup_{n\geq 1} B_n$ is dense in $A$, applying Lemma 2 completes the proof. QED.

OLD answer, before the question was clarified
Tomek Kania has already pointed out the key "counterexample" (assuming that by infinite topological direct sum you mean what I would call the $\ell^\infty$-direct sum).
I should also point out that there are commutative counterexamples. Indeed, let $A={\ell^\infty}{\rm-}\bigoplus \ell^1({\bf T}_d)$ where ${\bf T}_d$ denotes the unit circle equipped with the discrete topology, and the multiplication on $\ell^1({\bf T}_d)$ is given by convolution. Then, as observed in e.g. Proposition 5.8 of http://arxiv.org/abs/0708.4195 $A$ quotients onto $M(G_0)$ where $G_0$ is the Bohr compactificaton of ${\bf T}_d$.
If $A$ were weakly amenable, then $M(G_0)$ would be weakly amenable; but by results of Brown and Moran $M(G_0)$ has non-zero point derivations, hence is not weakly amenable. Therefore $A$ is not weakly amenable, and in particular cannot be amenable.